- From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Apr 2018 18:01:17 +0000
- To: public-webrtc-logs@w3.org
The downside brought up was: > every user of the API would have to have an if condition in the ondatachannel event handler distinguishing between the first and all subsequent channels But `datachannel` fires in response to receiving a "DATA_CHANNEL_OPEN" message, meaning the SCTP association is guaranteed to be established, and even the first channel could start as `open`. I guess your proposal is better though; if you can send immediately _and_ get an event, that should make everyone happy. -- GitHub Notification of comment by taylor-b Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1761#issuecomment-378341781 using your GitHub account
Received on Tuesday, 3 April 2018 18:01:19 UTC