MediaDeviceService
The MediaDeviceService allows an application to manage media devices that are used during a conference.
Methods
getComfortNoiseLevel
▸ getComfortNoiseLevel(): Promise
<ComfortNoiseLevel>
Note: This method is deprecated in SDK 3.7 and replaced with the getComfortNoiseLevel method available in the LocalAudio model
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
>
Note: This method is deprecated in SDK 3.7 and replaced with the setComfortNoiseLevel method available in the LocalAudio model.
Configures the comfort noise level for output devices in Dolby Voice conferences.
Parameters
Name | Type | Description |
---|---|---|
noiseLevel | ComfortNoiseLevel | The 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
>
Updated 7 months ago