Add an observer
Adds an observer to receive callbacks about device changes.
Selects an audio input device to use. The constraint may be a device id,
MediaStream (containing audio track), or
indicate no device. It may also be an AudioTransformDevice to customize the
constraints used or to apply Web Audio transforms.
The promise will resolve indicating success or it will throw an appropriate error indicating the failure.
Selects an audio output device for use. Null specifies the default device. Note: This method will throw an error if browser does not support setSinkId. See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setSinkId
Selects a video input device to use. The constraint may be a device id,
MediaStream (containing video track), or
indicate no device. The promise will resolve indicating success or it will
throw an appropriate error indicating the failure.
Sets the video input quality parameters to request when enabling video. These settings take effect the next time a video input device is chosen. The default is 960x540 @ 15 fps with a max bandwidth of 1400 kbps.
AnalyserNode from the current audio input. This node can be used to
generate the display for a mic indicator.
null is returned if no audio
input has been selected.
AnalyserNode is not updated automatically when you choose a new
audio input. Dispose of this one and fetch another by calling this method again.
Get all the remote video sending sources.
Get the current video input quality settings to request when enabling video.
Lists currently available audio input devices.
Lists currently available audio output devices.
Lists currently available video input devices.
Mixes the audio from the given media stream into the main audio input stream.
Pause content sharing
Remove an observer
Removes an observer to stop receiving callbacks about device changes.
Sets the audio profile to use for audio. The new audio profile takes effect
on the next call to
start or if already started, upon the next reconnect.
Sets the audio profile to use for content sharing. The new audio profile takes effect
on the next call to
startContentShareFromScreenCapture or if
already started, upon the next reconnect.
Sets the device label trigger to use in the case where media device labels are not present due to privacy restrictions in the browser. See above for an explanation of how this works.
Start the meeting session. By default this will connect and begin sending and receiving audio, depending on the implementation.
This method also allows you to provide options for how connection occurs.
The only supported option is
signalingOnly. Specifying this option will
cause the controller to only connect the meeting signaling channel. This
can be performed relatively early in the join lifecycle (e.g., prior to
choosing audio devices), which can improve join latency.
Your code is responsible for calling
start again without
to complete connection.
signalingOnly: true will cause only the initial signaling connection to occur.
Start content sharing
Start screen sharing
Starts a video preview of the currently selected video and binds it a video element to be displayed before a meeting begins. Make sure to call stopVideoPreviewForVideoInput when the preview is no longer necessary so that the stream can be released and turn off the camera if it is not being used anymore.
Stop content sharing
Stops the stream for a previously bound video preview and unbinds it from the video element.
Unpause content sharing
Generated using TypeDoc