CallState

sealed class CallState

Types

Link copied to clipboard
object Answering : CallState

Answering. Incoming call is responding to remote peer

Link copied to clipboard
data class Connected(val iceConnectionState: MxPeerConnectionState) : CallState

Connected. Incoming/Outgoing call, ice layer connecting or connected Notice that the PeerState failed is not always final, if you switch network, new ice candidtates could be exchanged, and the connection could go back to connected

Link copied to clipboard
object CreateOffer : CallState

CreateOffer. Intermediate state between Idle and Dialing.

Link copied to clipboard
object Dialing : CallState

Dialing. Outgoing call is signaling the remote peer

Link copied to clipboard
data class Ended(val reason: EndCallReason? = null) : CallState

Ended. Incoming/Outgoing call, the call is terminated

Link copied to clipboard
object Idle : CallState

Idle, setting up objects.

Link copied to clipboard
object LocalRinging : CallState

Local ringing. Incoming call offer received

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard