W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > April 2017

[webrtc-pc] Define what the default RTCDataChannel id is

From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
Date: Tue, 18 Apr 2017 11:39:02 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-222388086-1492515540-sysbot+gh@w3.org>
foolip has just created a new issue for https://github.com/w3c/webrtc-pc:

== Define what the default RTCDataChannel id is ==

> If the id attribute is uninitialized (not set via the dictionary), and the DTLS role of the SCTP transport has already been negotiated, then initialize id to a value generated by the user agent, according to [RTCWEB-DATA-PROTOCOL], and skip to the next step. If no available id could be generated, or if the value of the id member of the dictionary is taken by an existing RTCDataChannel , throw a ResourceInUse exception.

However, Chrome and Firefox seem to be doing something much simpler, for `new RTCPeerConnection().createDataChannel('').id` both simply return 65535.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1132 using your GitHub account
Received on Tuesday, 18 April 2017 11:39:09 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC