Re: [webrtc-pc] RTCDataChannel.send during 'closing' state

@jhaenchen There's no need for cleanup in that case. I was going to write that:

> When the ICE connection state goes into `failed`, all data channels should be in the `closed` state immediately. If they aren't, it's a bug in the implementation.

But I haven't found a procedure in the spec that defines what should happen once the peer connection state goes into `failed`. @aboba, @jan-ivar, anyone? :sweat_smile: But to prevent becoming sidetracked in this issue, perhaps one of you could open a new issue when responding.

Anyhow, even if the procedure is missing, there is no need to do cleanup and the data channels should be in the `closed` state. Whether or not the `close` event should fire is up for debate. However, I would argue that the event should fire because it is triggered by the remote side.

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

Received on Monday, 10 September 2018 20:53:19 UTC