mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
77faf0a163
webrtcsrc first creates recvonly transceivers with codec-preferences and expects that after applying a remote description, the previously created transceivers are used rather than having new transceivers created. When pairing webrtcsink + webrtcsrc, the offer sdp from webrtcsink has a media section with sendonly direction. In !7156, which was implemented following RFC9429 Section 5.10, we only reuse a unassociated transceiver when applying a remote description if the media is sendrecv or recvonly, and that caused creation of new transceivers when applying a remote offer in webrtcsrc, thus losing information from codec preferences like the RTP extension headers in the previously created transceivers. Since the change in !7156 broke existing code from webrtcsrc, relax the condition for reusing unassociated transceivers and add a test to document this behavior which wasn't covered by any tests before. Fixes #3753. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7417> |
||
---|---|---|
.. | ||
fwd.h | ||
gstwebrtc.c | ||
gstwebrtcbin.c | ||
gstwebrtcbin.h | ||
gstwebrtcstats.c | ||
gstwebrtcstats.h | ||
meson.build | ||
transportreceivebin.c | ||
transportreceivebin.h | ||
transportsendbin.c | ||
transportsendbin.h | ||
transportstream.c | ||
transportstream.h | ||
utils.c | ||
utils.h | ||
webrtcdatachannel.c | ||
webrtcdatachannel.h | ||
webrtcsctptransport.c | ||
webrtcsctptransport.h | ||
webrtcsdp.c | ||
webrtcsdp.h | ||
webrtctransceiver.c | ||
webrtctransceiver.h |