Re: [webrtc-pc] Don't fire events on a closed peer connection

Am I understanding this properly? If I have an RTCPeerConnection with another client and an ongoing data channel connection with that same other client and the other client then force quits their browser, `oniceconnectionstatechange` will fire with `iceConnectionState = failed`. Then, if I call `.close` on the data channel, `dataChannel.readyState` goes to `closing` but never transitions to `closed`, I assume because the PeerConnection itself is broken but the data channel doesn't realize that.

Is this intended behavior?

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

Received on Monday, 10 September 2018 17:35:49 UTC