SignalingState

sealed interface SignalingState

Richer view of the local signaling transport state. Apps can use this to render reconnect spinners, "you have been disconnected" UI, and a hard- eviction countdown when applicable. CallState.connectionStatus remains the simpler tri-value summary.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
data class Failed(val reason: CallError) : SignalingState

Terminal failure; see reason.

Link copied to clipboard
data class Reconnecting(val attempt: Int, val nextRetryAtMs: Long? = null) : SignalingState

Actively retrying to (re)connect.

Link copied to clipboard
data class Suspended(val suspendedSinceMs: Long, val estimatedHardEvictionAtMs: Long) : SignalingState

Mid-call transport drop. The server is holding the participant slot for suspendHardEvictionTimeout (10 min); apps can render a countdown using estimatedHardEvictionAtMs.