a CallDetails containing metadata about the call.
Returns the Direction of the call.
Returns the headers.
IMPORTANT: Headers may not be immediately available due to
push payload size limitations.
If it's not immediately available, it will be available after the onCallProgressing
or onCallEstablished callbacks for CallListener are called.
Returns the call identifier.
Returns the MediaStream that is received to your device from the remote peer during a call.
Returns the MediaStream that is sent from your device to the remote peer during a call.
OptionalremoteReturns the callers displayName.
Returns the identifier of the remote participant in the call.
Returns the CallState the call is currently in.
Ends the call, regardless of what state it is in. If the call is an incoming call that has not yet been answered, the call will be reported as denied to the caller.
Mute audio.
Pause the video capturing.
Resume the video capturing.
Sends one or more DTMF tones for tone dialing. (Only applicable for calls terminated to PSTN (Publicly Switched Telephone Network)).
May be a series of DTMF keys. Each key must be in [0-9, #, *, A-D].
Installs (or clears, when null) an AudioWorklet based processor on the outgoing
(local microphone) audio path. The processed audio is what is sent to the remote peer and
is reflected by outgoingStream.
Loading the worklet module is asynchronous; the returned promise resolves once the processor
is active. Passing null tears down the graph and restores the raw microphone audio. May be called before or during a call, and repeatedly
to swap processors.
If installing the listener fails, the returned promise rejects and the outgoing audio is left on the unprocessed (native) microphone — any previously installed listener is removed rather than restored. Outbound audio therefore always keeps flowing.
the LocalAudioFrameListener to install, or null to remove any
currently installed processor.
a promise that resolves once the processor has been installed or removed, and rejects if installation failed (leaving unprocessed audio on the wire).
Unmute audio.
Returns metadata about the call.