WebsocketReconnectStrategy class
WebsocketReconnectStrategy defines the ws strategies available for handling reconnections.
- Inheritance
-
- Object
- ProtobufEnum
- WebsocketReconnectStrategy
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
name
or thevalue
if names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → WebsocketReconnectStrategy?
Constants
-
values
→ const List<
WebsocketReconnectStrategy> - WEBSOCKET_RECONNECT_STRATEGY_DISCONNECT → const WebsocketReconnectStrategy
- Sent after reaching the maximum reconnection attempts, or any other unrecoverable error leading to permanent disconnect.
- WEBSOCKET_RECONNECT_STRATEGY_FAST → const WebsocketReconnectStrategy
- SDK should maintaining existing publisher/subscriber pc instances and establish a new WebSocket connection.
- WEBSOCKET_RECONNECT_STRATEGY_MIGRATE → const WebsocketReconnectStrategy
- SDK should migrate to a new SFU instance
- WEBSOCKET_RECONNECT_STRATEGY_REJOIN → const WebsocketReconnectStrategy
- SDK should obtain new credentials from the coordinator, drops existing pc instances, set a new session_id and initializes a completely new WebSocket connection, ensuring a comprehensive reset.
- WEBSOCKET_RECONNECT_STRATEGY_UNSPECIFIED → const WebsocketReconnectStrategy