Initializes a JitsiMediaDevices
object. There will be a single
instance of this class.
Executes callback with list of media devices connected.
Returns currently used audio output device id, 'default' stands for default device
Returns true if changing the input (camera / microphone) or output (audio) device is supported and false if not.
Optional
deviceType: stringtype of device to change. Default is undefined or 'input', 'output' - for audio output device change.
true if available, false otherwise.
Checks if the permission for the given device was granted.
Optional
type: MediaTypetype of devices to check, undefined stands for both 'audio' and 'video' together
Returns true if it is possible to be simultaneously capturing audio from more than one device.
Sets current audio output device.
id of 'audiooutput' device from navigator.mediaDevices.enumerateDevices(), 'default' is for default device
Media devices utilities for Jitsi.