Types

Link copied to clipboard

State of socket when the connection is established (the SFU delivered its JoinCallResponseEvent).

Link copied to clipboard
data class Connecting(val connectionConf: ConnectionConf.SfuConnectionConf, val connectionType: ERROR CLASS: Symbol not found for WebsocketReconnectStrategy = WebsocketReconnectStrategy.WEBSOCKET_RECONNECT_STRATEGY_UNSPECIFIED) : SfuSocketState

State of socket when connection is being establishing.

Link copied to clipboard

State of socket when connection is being disconnected.

Link copied to clipboard
data class RestartConnection(val reason: RestartReason, val reconnectStrategy: ERROR CLASS: Symbol not found for WebsocketReconnectStrategy) : SfuSocketState
Link copied to clipboard

State of socket when the transport WebSocket is open (HTTP→WS upgrade done) but the SFU has not yet delivered its JoinCallResponseEvent. This is the window bounded by the join-response timeout: the OkHttp client bounds the preceding Connecting (upgrade) phase, while this phase is bounded separately so a slow/silent SFU is detected without hanging.