Mozilla Firefox 63+ fix for SDP format

Mozilla Firefox 63

Photo Source: Mozilla Foundation

Avoiding the Datachannel breaking in Firefox 63+


Nowadays, it is common for web browsers to make updates and changes to their implementations. This is even more common when we talk about modern technologies like WebRTC. A new web browser update that confirms this theory is the last change on Firefox 63 when negotiating the Datachannel.

If you are negotiating a Datachannel with a Firefox version lower than 63, the Session Description Protocol (SDP) will looks something like this:

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

However, this same negotiation in a Firefox63+ browser is different:

m=application 9 UDP/DTLS/SCTP webrtc-datachannel
a=sctp-port:5000
Bash

As you can see, the problem is that the new format is incompatible with the previous one. The old parser expected to find a number (5000) where the new parser expects a text (webrtc-datachannel).

To fix it, we have added the new SDP format to our Video Gateway (WebRTC). This new 3.3.1 release includes a new parser will be able to handle the offers of Firefox 63+.


Interactive Powers - Streamline your business communications

© 2025 Interactive Powers Published with Hugo