Skip to content

webrtcbin: Improve SDP intersection for Opus

Jan Schmidt requested to merge thaytan/gstreamer:webrtcbin-sdp-negotiation into main

Remove optional sprop-stereo and sprop-maxcapture fields from Opus remote offer caps before intersecting with local codec preferences.

According to those fields are sender-only informative, and don't affect interoperability.

Fixes cases where the webrtc media will end up receive-only if the local side wants to send stereo but the remote is sending mono, or vice versa.

There may be other fields in other codecs, so the implementation anticipates needing to add further fields and codecs in the future.

Merge request reports