RTCConnectionState enum
Status of the SDK connection to the signalling server
Values
- disconnected → const RTCConnectionState
-
Disconnected for 12s, SDK will try to reconnect automatically.
- connecting → const RTCConnectionState
-
The first request to connect to the server. Connecting.
- connected → const RTCConnectionState
-
The first connection was successful.
- reconnecting → const RTCConnectionState
-
Triggered in the following scenarios:
- Failed to connect within 10 seconds on first connection.
- Disconnected for 10 seconds after a successful connection. Automatic reconnection in progress.
- reconnected → const RTCConnectionState
-
Successful reconnection.
- lost → const RTCConnectionState
-
In disconnected status for more than 10s without a successful reconnection. SDK will still continue to try to reconnect.
- failed → const RTCConnectionState
-
Connection failure caused by abnormal state of the server. SDK will not automatically reconnect, please re-enter the room or contact technical support.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
RTCConnectionState> - A constant List of the values in this enum, in order of their declaration.