MediaDeviceService

The MediaDeviceService allows an application to manage media devices that are used during a conference.

Methods

isFrontCamera

isFrontCamera(): Promise<boolean>

Checks whether an application uses the front-facing (true) or back-facing camera (false).

Returns

Promise<boolean>


switchCamera

switchCamera(): Promise<void>

Switches the current camera to another available camera that is connected to a device.

Returns

Promise<void>


switchSpeaker

switchSpeaker(): Promise<void>

Switches the current speaker to another available speaker that is connected to a device.

Returns

Promise<void>