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

For Web IDL dictionary members, the terminology is [present](https://heycam.github.io/webidl/#dfn-present) or not present, but it sounds like you're referencing both the `id` dictionary member and the `id` attribute on `RTCDataChannel` in that snippet. As part of the createDataChannel method, things can only depend on the current state of things, so the "until" bit would have to happen elsewhere, as part of to the DTLS being negotiated or some side-effect of it.

It'd be easier to review a PR. At some point it needs to say "If id is not present, then ...".

-- 
GitHub Notification of comment by foolip
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1132#issuecomment-295702991 using your GitHub account

Received on Thursday, 20 April 2017 11:50:29 UTC