fsrtpconference feeds SRTP to transmitter even when encryption is disabled
Submitted by David Woodhouse
Assigned to Olivier Crête @ocrete
Link to original bug (#105193)
Description
I implemented my own FsTransmitter because I need to transport data multiplexed over my protocol's single data connection.
Since fsrawconference doesn't have a jitterbuffer or codec support, I am trying to switch to fsrtpconference instead: https://lists.freedesktop.org/archives/farstream-devel/2018-February/000086.html
However, fsrtpconference seems to emit application/x-srtp unconditionally, even when encryption is disabled. I was only able to get it to work by removing libgstsrtp.so from my system. Otherwise I get this:
0:00:15.265806297 5308 0x5573bd72c830 DEBUG GST_CAPS gstpad.c:2215:gst_pad_link_check_compatible_unlocked:tee1:src_1 src caps application/x-srtp 0:00:15.265814903 5308 0x5573bd72c830 DEBUG GST_CAPS gstpad.c:2217:gst_pad_link_check_compatible_unlocked:valve1:sink sink caps application/x-rtp, media=(string)audio, payload=(int)[ 96, 127 ], clock-rate=(int)48000, encoding-name=(string){ OPUS, X-GST-OPUS-DRAFT-SPITTKA-00 } 0:00:15.265878067 5308 0x5573bd72c830 INFO GST_PADS gstpad.c:2464:gst_pad_link_full: link between tee1:src_1 and valve1:sink failed: no common format