WebRTCPeerConnectionConnectionState Enumeration |
[Missing <summary> documentation for "T:Godot.WebRTCPeerConnection.ConnectionState"]
Namespace: Godot
public enum ConnectionState
Member name | Value | Description | |
---|---|---|---|
New | 0 | The connection is new, data channels and an offer can be created in this state. | |
Connecting | 1 | The peer is connecting, ICE is in progress, none of the transports has failed. | |
Connected | 2 | The peer is connected, all ICE transports are connected. | |
Disconnected | 3 | At least one ICE transport is disconnected. | |
Failed | 4 | One or more of the ICE transports failed. | |
Closed | 5 | The peer connection is closed (after calling Close for example). |