A Call represents a one-to-one call with another browser, a SIP endpoint, or even a phone number. The Call object supports both audio and video.
The state and prevState properties of a Call have the following values:
Start the process to answer the incoming Call.
Parameters
None
Returns
None
Example
Turn off the audio input track.
Example
Send a Dual Tone Multi Frequency (DTMF) string to RELAY.
Parameters
Returns
None
Examples
Hangs up the call.
Parameters
None
Returns
None
Examples
Holds the call.
Parameters
None
Returns
None
Examples
Turn off the audio output track.
Example
Turn off the video output track.
Example
Change the audio input device used for the Call.
Example
Change the audio output device used for the Call.
Example
Change the video output device used for the Call.
Example
Toggle the audio output track.
Example
Toggles the hold state of the call.
Parameters
None
Returns
None
Examples
Toggle the video output track.
Example
Turn on the audio input track.
Example
Un-holds the call.
Parameters
None
Returns
None
Examples
Turn on the audio output track.
Example
Turn on the video output track.
Example