Types

Link copied to clipboard

State of socket when is disconnected by customer request.

Link copied to clipboard
data class DisconnectedPermanently(val error: Error.NetworkError) : SfuSocketState.Disconnected

State of socket when a connection is permanently disconnected.

Link copied to clipboard
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.

Link copied to clipboard

State of socket when network is disconnected.

Link copied to clipboard
Link copied to clipboard

State of socket when is stopped.

Link copied to clipboard

State of socket when HealthEvent is lost.