MediaDeviceService

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

Methods

getComfortNoiseLevel

getComfortNoiseLevel(): Promise<ComfortNoiseLevel>

Retrieves the comfort noise level setting for output devices in Dolby Voice conferences.

Returns

Promise<ComfortNoiseLevel>


isFrontCamera

isFrontCamera(): Promise<boolean>

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

Returns

Promise<boolean>


setComfortNoiseLevel

setComfortNoiseLevel(noiseLevel): Promise<void>

Configures the comfort noise level for output devices in Dolby Voice conferences.

Parameters

NameTypeDescription
noiseLevelComfortNoiseLevelThe selected comfort noise level.

Returns

Promise<void>


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>


Did this page help you?