Values

New

The connection is new, data channels and an offer can be created in this state.

Connecting

The peer is connecting, ICE is in progress, none of the transports has failed.

Connected

The peer is connected, all ICE transports are connected.

Disconnected

At least one ICE transport is disconnected.

Failed

One or more of the ICE transports failed.

Closed

The peer connection is closed (after calling godot.WebRTCPeerConnection.close for example).