Skip to content

webrtcbin: Support data channel SDP offers from Chrome

Jakub Adam requested to merge xhaakon/gst-plugins-bad:webrtc-chrome into master

When negotiating a data channel, Chrome as recent as 75 still uses SDP based on version 05 of the SCTP SDP draft, for example:

 m=application 9 DTLS/SCTP 5000
 a=sctpmap:5000 webrtc-datachannel 1024

Implement support for parsing SCTP port out of SDP message with sctpmap attribute. Fixes data channel negotiation with Chrome browser.

Edited by Jakub Adam

Merge request reports