← Back to release summary

RTCPeerConnection.connectionState and RTCPeerConnection.onconnectionstatechanged

Category
WebRTC
Type
New or changed feature
Status
Enabled by default (Chrome 72)
Intent stage
None

Summary

RTCPeerConnection.connectionState is a aggregate value computed from the transport states of the peerconnection's underlying ICE and DTLS transports. It's intended to provide a more complete overview of the connection state than RTCPeerConnection.iceConnectionState, which is only supposed to be based on the ICE transports.

Standards & signals

View on chromestatus.com