Enum WebRTCPeerConnection.ConnectionState

enum ConnectionState : int { ... }

Enum members

NameDescription
stateClosed The peer connection is closed (after calling close for example).
stateConnected The peer is connected, all ICE transports are connected.
stateConnecting The peer is connecting, ICE is in progress, none of the transports has failed.
stateDisconnected At least one ICE transport is disconnected.
stateFailed One or more of the ICE transports failed.
stateNew The connection is new, data channels and an offer can be created in this state.