Re: [webrtc-pc] Is close() supposed to fire state change events? Connection state change set asynchronously? (#1883)

I'm going to answer my own question: I think it is intentional, because there may be any number of (future) transports (or data channels for that matter) under the umbrella of the *RTCPeerConnection* negotiation factory.

Thus there is no way to truly know when a remote party has called `pc.close()`, because that's not a network question.

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

Received on Wednesday, 11 March 2020 15:17:42 UTC