Table of Contents

Enum WebRtcPeerConnection.ConnectionState

Namespace
Godot
Assembly
GodotSharp.dll
public enum WebRtcPeerConnection.ConnectionState : long

Fields

Closed = 5

The peer connection is closed (after calling Close() for example).

Connected = 2

The peer is connected, all ICE transports are connected.

Connecting = 1

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

Disconnected = 3

At least one ICE transport is disconnected.

Failed = 4

One or more of the ICE transports failed.

New = 0

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