PSA: RTP datachannels are being deprecated in M88, intended removal in M90

726 views
Skip to first unread message

Harald Alvestrand

unread,
Oct 27, 2020, 2:14:26 AM10/27/20
to discuss...@googlegroups.com
For your information:

The never-standardized, low-performance alternative to SCTP-based datachannels called "RTP datachanels" is being removed from the WebRTC codebase.

Per today, Chrome M88 (currently canary, stable branch in January) will give a deprecation warning if you try to use the feature; in M90, we expect to remove the feature altogether.

If your code contains this line:

{'RtpDataChannels: true}

and you don't have any reason to preserve it, just remove that line (on both sides).

For more information, check this blink-dev thread:


Harald

Harald Alvestrand

unread,
Jan 18, 2021, 4:15:36 AM1/18/21
to discuss...@googlegroups.com
For your information:
This removal is now in the process of landing (in M90, which will show up in Canary).

Harald Alvestrand

unread,
Jan 20, 2021, 1:49:27 AM1/20/21
to discuss...@googlegroups.com
Note: After the removal, if you have this particular construct in your code:

mandatory: { RtpDataChannels: false }

you have been using DTLS datachannels, and your business logic does not need updating, but you will still need to remove the construct, since Chrome no longer knows what "RtpDataChannels" means, and will therefore fail to create the PeerConnection, as per the rules of (non-standard) constraint arguments to the RTCPeerConnection constructor.

Nasreddine Galfout

unread,
Jan 21, 2021, 5:41:05 AM1/21/21
to discuss-webrtc
Thank you for the update, I just removed it from my code.

also one question who is validating new questions on this group? I have asked two and they are not appearing (it is been 3 days!!!).

thank you again for the update.

Harald Alvestrand

unread,
Jan 25, 2021, 7:21:40 AM1/25/21
to discuss...@googlegroups.com
Note: This was rolled back and revised; now the { RtpDataChannels: false } or { RtpDataChannels: true } will be ignored and only result in a deprecation notice. People using { RtpDataChannels: false } should notice no difference.

The revised version landed in Canary today.
Reply all
Reply to author
Forward
0 new messages