Class: MediaDeviceProvider

olympe.ui.media. MediaDeviceProvider

Provide a list of audio and video input devices (aka camera and microphones). Service is provided via the DI, id is olympe.ui.Svc.MEDIA_DEVICE_PROVIDER


new MediaDeviceProvider()

Extends

  • olympe.ui.UIElement

Methods


getAllAudioInputDevices(cb)

Gets all audio input devices

Parameters:
Name Type Description
cb function

getAllVideoInputDevices(cb)

Gets all video input devices

Parameters:
Name Type Description
cb function

getDefaultAudioInputDevice(cb)

Calls the provided callback with the default audio input device as argument.

Parameters:
Name Type Description
cb function

getDefaultVideoInputDevice(cb)

Calls the provided callback with the default video input device as argument.

Parameters:
Name Type Description
cb function

<protected> getUIProxyMediaDeviceProvider()

Returns:

Native media device provider proxy

Type
olympe.uiapi.media.MediaDeviceProvider