-
- All Implemented Interfaces:
-
com.squareup.wire.WireEnum,java.io.Serializable,kotlin.Comparable
public enum WebsocketReconnectStrategy extends Enum<WebsocketReconnectStrategy> implements WireEnum
WebsocketReconnectStrategy defines the ws strategies available for handling reconnections.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classWebsocketReconnectStrategy.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description WEBSOCKET_RECONNECT_STRATEGY_MIGRATESDK should migrate to a new SFU instance
WEBSOCKET_RECONNECT_STRATEGY_REJOINSDK 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_FASTSDK should maintaining existing publisher/subscriber pc instances and establish a new WebSocket connection.
WEBSOCKET_RECONNECT_STRATEGY_DISCONNECTSent after reaching the maximum reconnection attempts, or any other unrecoverable error leading to permanent disconnect.
WEBSOCKET_RECONNECT_STRATEGY_UNSPECIFIED
-