在基于audinate 音视频设备开发的时候,需要使用官方的API 函数接口来实现各个终端设备之间的拓扑链接。 在audinate 的demo 命令当中,展示了route 主要的核心功能。通过这些功能的介绍,可以很大程度上帮助了解route 的核心API 函数以及其功能应用
? prints a help message
q Quit
c + Write the current device configuration
c - Clear the current device configuration
d t L F Set device tx multicast performance properties to L microsecon
d F frames per packet
d r L F Set device rx multicast performance properties to L microsecon
d F frames per packet
d u L F Set device unicast performance properties to L microseconds an
rames per packet
d p ‘Ping‘ the device (sends a no-op routing message and waits for
sponse)
d ! Mark properties component as stale
d Display device information (properties,capabilities,status)
e N + Enable tx channel N
e N - Disable tx channel N
f + N S L F Create new transmit flow with id N, S slots, latency L and F f
f + S Create new transmit flow with S slots
f N Modify transmit flow N
f N - Delete transmit flow N
f ! Mark transmit flow component as being stale
f Display all transmit flows
g m N Create a new multicast receive template on flow id N
g u N S Create a new unicast receive template on flow id N with S slot
g * N Replace channel associations for template with flow id N
g - N Delete template with flow id N
g ! Mark receive flow component as being stale
g Display all receive flows
l N "NAME" + Add label NAME to tx channel N
l N "NAME" - Remove label NAME from tx channel N
l N List labels for tx channel N
l ! Mark tx labels component as stale
l List labels for all tx channels
L N - Remove label N
L N Display label N
L ! Mark tx labels component as stale
L List all labels
n NAME Rename the device to NAME (closes the device handle)
n - Rename the device to its default name (closes the device handl
n Print the device‘s name
o + Enable network loopback
o - Disable network loopback
r ! Mark rx channel component as stale
r N m + Mute rx channel N
r N m - Unute rx channel N
r N "NAME" Renamed rx channel N
r Display rx channel information
s N "NAME" Subscribe rx channel N to network channel NAME
s N Unsubscribe rx channel N
t ! Mark tx channel component as stale
t N m + Mute tx channel N
t N m - Unute tx channel N
t Display tx channel information
u q Query (or re-query) capabilities
u ! Invalidate and update all components
u Update information for all stale components
U TYPE + Get and clear rxflow error field TYPE for all flows
U TYPE - Get rxflow error field TYPE for all flows
U + Get and clear rxflow error flags for all flows
U - Get rxflow error flags for all flows
U N Print rxflow error information for rx flow N
U Print rxflow error information for all rx flows
x + Put the device into lockdown
x - Take the device out of lockdown
Audinate dante router introduce
原文地址:http://blog.csdn.net/leos_blog/article/details/44256871