[XK-AVB-LC-SYS] Which IP Address? How to connect with switch Topic is solved

If you have a simple question and just want an answer.
User avatar
Thomas
Experienced Member
Posts: 66
Joined: Fri Feb 05, 2010 12:34 pm

Post by Thomas »

Hi Chris
Now that you see the AVB-LC Endpoints with the avdecc controller, you should be able to connect AVB audio streams between them. Here is a trace from both Endpoints with the avdecc commands added inline:

Note!!: avdecc connect commands (denoted with $) are executed on the controller and apply to both endpoints
Note!!: If the 1722.1 controller runs on a Mac, AVB/EAV must be disabled (In Network Preferences->Hardware) or the native OSX 1722.1 controller will interfere.

EP 0:
xrun --xscope --id 0 bin/app_avb_lc_demo.xe
PTP Port 0 Role: Master
Setting clock source: INPUT_STREAM_DERIVED
PTP Port 0 Role: Master
PTP Port 0 Role: Master
MAAP reserved Talker stream #0 address: 91:E0:F0:0:A4:64
PTP Port 0 Role: Slave
Joined SRP domain (VID 2, port 0)
Joined SRP domain (VID 2, port 0)
PTP sync locked

// stops here. The following trace is after the external 1722.1 controller (avdecc) connects stream from EP1 to EP0
// avdecc commands are inline starting with $

$ select 0x002297fffe804142 0 0
$ set clock_source CLOCK_DOMAIN 0 1
Setting clock source: LOCAL_CLOCK

$ connect 0x2297fffe804142 0 0x002297fffe804111 0
CONNECTING Talker stream #0 (22978041420000) -> Listener 0:22:97:FF:FE:80:41:11
MSRP: Register stream request 229780:41420000
Added stream:
ID: 22978041420000
DA:91:E0:F0:0:A4:64:
max size: 224
interval: 1
MVRP: Joined VID 2
Talker stream #0 ready
Increasing port 0 shaper bandwidth to 17024000 bps
Talker stream #0 on

// stops here. The following trace is after the external 1722.1 controller (avdecc) connects stream from EP0 to EP1
// avdecc commands are inline starting with $
$ connect 0x002297fffe804111 0 0x2297fffe804142 0

CONNECTING Listener sink #0 -> Talker stream 22978041110000, DA: 91:E0:F0:0:98:8E
Listener sink #0 chan map:
0 -> 0
1 -> 1
2 -> 2
3 -> 3
4 -> 4
5 -> 5
6 -> 6
7 -> 7
1722 router: Enabled map for stream 22978041110000 (link_num:0, hash:0)
MSRP: Register attach request 229780:41110000
Added stream:
ID: 22978041110000
MVRP: Joined VID 2
Added stream:
ID: 22978041110000
DA:91:E0:F0:0:98:8E:
max size: 224
interval: 1
Media output 0 locked: 26 samples shorter
Media output 1 locked: 26 samples shorter
Media output 2 locked: 26 samples shorter
Media output 3 locked: 26 samples shorter
Media output 4 locked: 26 samples shorter
Media output 5 locked: 26 samples shorter
Media output 6 locked: 26 samples shorter
Media output 7 locked: 25 samples shorter

EP1:
xrun --xscope --id 1 bin/app_avb_lc_demo.xe
PTP Port 0 Role: Master
Setting clock source: INPUT_STREAM_DERIVED
PTP Port 0 Role: Master
Joined SRP domain (VID 2, port 0)
Joined SRP domain (VID 2, port 0)
PTP Port 0 Role: Master
MAAP reserved Talker stream #0 address: 91:E0:F0:0:98:8E
Joined SRP domain (VID 2, port 0)
Joined SRP domain (VID 2, port 0)
PTP Port 0 Role: Slave
PTP sync locked

// stops here. The following trace is after the external 1722.1 controller (avdecc) connects stream from EP1 to EP0
// avdecc commands are inline starting with $

$ connect 0x2297fffe804142 0 0x002297fffe804111 0
CONNECTING Listener sink #0 -> Talker stream 22978041420000, DA: 91:E0:F0:0:A4:64
Listener sink #0 chan map:
0 -> 0
1 -> 1
2 -> 2
3 -> 3
4 -> 4
5 -> 5
6 -> 6
7 -> 7
1722 router: Enabled map for stream 22978041420000 (link_num:0, hash:0)
MSRP: Register attach request 229780:41420000
Added stream:
ID: 22978041420000
MVRP: Joined VID 2
Added stream:
ID: 22978041420000
DA:91:E0:F0:0:A4:64:
max size: 224
interval: 1
Media output 0 locked: 26 samples shorter
Media output 1 locked: 26 samples shorter
Media output 2 locked: 26 samples shorter
Media output 3 locked: 26 samples shorter
Media output 4 locked: 26 samples shorter
Media output 5 locked: 26 samples shorter
Media output 6 locked: 26 samples shorter
Media output 7 locked: 26 samples shorter


// stops here. The following trace is after the external 1722.1 controller (avdecc) connects stream from EP0 to EP1
// avdecc commands are inline starting with $
$ connect 0x002297fffe804111 0 0x2297fffe804142 0

CONNECTING Talker stream #0 (22978041110000) -> Listener 0:22:97:FF:FE:80:41:42
MSRP: Register stream request 229780:41110000
Added stream:
ID: 22978041110000
DA:91:E0:F0:0:98:8E:
max size: 224
interval: 1
MVRP: Joined VID 2
Talker stream #0 ready
Increasing port 0 shaper bandwidth to 17024000 bps
Talker stream #0 on


View Solution