[webrtc-pc] Pull Request: Cleanup connection states.

jonasesolsson has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Cleanup connection states. ==
Here's the changes suggested in https://github.com/w3c/webrtc-pc/issues/2031.

These are the effective changes:

- In RTCPeerConnectionState we now prefer "disconnected" over "connecting", that is to say, we no longer do the 'and none of them are in the "connecting" or "checking"' thing. This was done to ensure that the two connection states behave similarly, unlike now.
- Neither of the "new" states allow transports to be "connected" or "completed" any more. The states that would have previously ended up covered here are now "connected" instead.

See https://github.com/w3c/webrtc-pc/pull/2036

Received on Monday, 3 December 2018 15:19:50 UTC