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

Re: [webrtc-pc] Initial data channel state is inconsistent

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Fri, 09 Feb 2018 01:05:23 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-364302429-1518138322-sysbot+gh@w3.org>
> So for the purpose of having a consistent API which always behaves the same it seems a new channel in the RTCDataChannelEvent should always start in the 'connecting' state, so that you can always setup an onopen callback, which executes always the same code no matter what the initial state of the underlying transports is/was.

I suspected this was the reasoning; makes enough sense to me.

GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1761#issuecomment-364302429 using your GitHub account
Received on Friday, 9 February 2018 01:05:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:00 UTC