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

We do have a slight problem now: After `ondatachannel` has been fired, the channel is in a limbo state. It is technically open and nothing prevents us from sending anything **but** `.send` throws in case the channel is not open. Requiring to register `.onopen` and force waiting for that to fire is awkward.

Would it be possible to say the following:
Set `ReadyState` to `open` before firing `ondatachannel` and fire `onopen` afterwards.

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

Received on Sunday, 1 April 2018 20:31:31 UTC