DisconnectedTemporarily

data class DisconnectedTemporarily(val error: Error.NetworkError, val reconnectStrategy: ERROR CLASS: Symbol not found for WebsocketReconnectStrategy) : SfuSocketState.Disconnected

State of socket when a recoverable Error happens (a temporary socket disconnect that should be retried). The carried error holds the exact Error.NetworkError.serverErrorCode and message, so failures such as a missing JoinResponse (see io.getstream.video.android.core.errors.VideoErrorCode.SFU_JOIN_RESPONSE_TIMEOUT) are attributed precisely without needing a separate state type.

Constructors

Link copied to clipboard
constructor(error: Error.NetworkError, reconnectStrategy: ERROR CLASS: Symbol not found for WebsocketReconnectStrategy)

Properties

Link copied to clipboard
val error: Error.NetworkError
Link copied to clipboard
val reconnectStrategy: ERROR CLASS: Symbol not found for WebsocketReconnectStrategy