Skip to main content

WebRTC Flutter Call State

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