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

[webrtc-pc] Pull Request: Make RTCDataChannel.id nullable and describe when it's set.

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Fri, 24 Feb 2017 06:32:00 +0000
To: public-webrtc@w3.org
Message-ID: <pull_request.opened-107775088-1487917918-sysbot+gh@w3.org>
taylor-b has just submitted a new pull request for 
https://github.com/w3c/webrtc-pc:

== Make RTCDataChannel.id nullable and describe when it's set. ==
Fixes #795.

When a data channel is initially created, and a ID isn't explicitly
provided, it will only be set after the DTLS role is negotiated by an
SDP answer. If a data channel is created after this answer is set, an
ID will be set instantly.

Until the id is set, the attribute will return null.

See https://github.com/w3c/webrtc-pc/pull/1038
Received on Friday, 24 February 2017 06:32:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:50 UTC