Skip to main content

CallState

CallState represents the state of the call

enum CallState {
newCall,
connecting,
ringing,
active,
held,
done,
error,
}

Cases ​

NEW ​

newCall

New call has been created in the client.

CONNECTING ​

connecting

The outbound call is being sent to the server.

RINGING ​

ringing

Call is pending to be answered. Someone is attempting to call you.

ACTIVE ​

active

Call is active when two clients are fully connected.

HELD ​

held

Call has been held.

DONE ​

done

Call has ended.

error ​

error

An error has occured