PSA: removing entire m= sections via SDP munging is going away in M138

437 views
Skip to first unread message

Philipp Hancke

unread,
May 8, 2025, 1:42:51 AMMay 8
to discuss...@googlegroups.com
(If you’re not modifying SDP, you can stop reading now)

The standards for WebRTC have always said that the SDP produced by createOffer/createAnswer MUST be passed unchanged to setLocalDescription 

Unfortunately, this has not been policed in Chromium in the past. As of
which landed in todays M138 canary removing an entire m= line between createOffer/createAnswer and setLocalDescription will result in an error.

If you have any concerns please leave a note on
The usage was negligible so we do not expect much turmoil.

Feng Wang

unread,
May 24, 2025, 12:58:58 PMMay 24
to discuss-webrtc
I think SDP Munging is very common, and its standardization should be fully discussed with the community. After having a comprehensive and clear plan, we should first make it public, and then make changes, rather than doing it the way it is now, suddenly issuing a PSA saying that the next version is going to be released, which simply doesn't leave enough time for applications to adapt.

Feng Wang

unread,
May 26, 2025, 5:04:39 AMMay 26
to discuss-webrtc
I checked the usage of RTCLocalSdpModification and GetUserMedia on Chrome Status, and their usage ratios seem to be equal. From the data, the usage of SDP Munging is very widespread.

By the way, why did the usage of RTCLocalSdpModification increase rapidly after November 2024?
Reply all
Reply to author
Forward
0 new messages