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

> instead of the dtlsTransport this should also be visible on pc.connectionState (in chrome)

Actually no. The spec says of [`closed`](https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectionstate-closed): _"The RTCPeerConnection object's [[IsClosed]] slot is true."_

...which means it does _not_ detect remote close. Pity. @henbos was this intentional?

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

Received on Wednesday, 11 March 2020 15:08:59 UTC