PSA: a=extmap-allow-mixed will be offered by default

Skip to first unread message

Emil Lundmark

Jan 21, 2021, 5:41:13 AM1/21/21
As of commit 801c9995c86ca7cf3227a27ad9e75f04e1ba235e [1] the SDP
attribute extmap-allow-mixed [2] will be offered by default on session

This attribute allows mixing one- and two-byte RTP header extensions.
Historically, WebRTC has only supported the one-byte header form. The
two-byte header form allows for a wider range of local IDs, thus
increasing the total number of extensions that can be mapped. It also
allows for data lengths up to 255 bytes. For more details, refer to RFC

The SDP attribute extmap-allow-mixed has been supported since Chrome
M71. However, the SDP negotiation in Chrome versions before M71 will
fail if extmap-allow-mixed is offered. From Chrome M89
extmap-allow-mixed will be offered by default [3].

To get the old behavior back in Chrome, pass
{offerExtmapAllowMixed:false} as an argument to the RTCPeerConnection
constructor. Note that this is a non-standard property.

Reply all
Reply to author
0 new messages