rtp-sap, AES67: fix some bugs to get Dante/AES67 devices to work
I have some Dante/AES67 devices which send the following sdp:
application/sdp v=0
o=- 723178 723187 IN IP4 192.168.3.76
s=AVIOUSBC-54299e : 2
c=IN IP4 239.69.88.219/32
t=0 0
a=keywds:Dante
m=audio 5004 RTP/AVP 97
i=2 channels: Left, Right
a=recvonly
a=rtpmap:97 L24/48000/2
a=ptime:1
a=ts-refclk:ptp=IEEE1588-2008:00-1D-C1-FF-FE-54-29-9E:0
a=mediaclk:direct=2176716609
which resulted in the following error:
E][99140.536150] default | [ stream.c: 314 rtp_stream_new()] unsupported audio format:259 channels:2
[E][99140.536244] mod.rtp-source | [module-rtp-sourc: 558 pipewire__module_init()] can't create stream: Invalid argument
[E][99140.536892] mod.rtp-sap | [module-rtp-sap.c: 798 session_load_source()] Can't load module: Invalid argument
Correcting the audio format string fixed the problem.
The AES67 default config was not working since it didn't use the new rtp-sap module. I adapted the configuration accordingly.
Edited by Sebastian Woetzel