Property ConnectionState
ConnectionState
The readonly property of the RTCPeerConnection indicates the current state of the peer connection by returning one of the RTCPeerConnectionState enum.
Declaration
public RTCPeerConnectionState ConnectionState { get; }
Property Value
Type | Description |
---|---|
RTCPeerConnectionState |
Examples
var peerConnection = new RTCPeerConnection(configuration);
var connectionState = peerConnection.ConnectionState;