hasRequestingDevice
function hasRequestingDevice(
request,
kind,
currentDevices): boolean;
Check if there is a requesting device with respecting to the current devices
Parameters
| Parameter | Type | Description |
|---|---|---|
request | | undefined | InputDeviceConstraint | Requesting input device constraint |
kind | MediaDeviceKind | The kind of the device |
currentDevices | IndexedDevices | The current indexed devices |
Returns
boolean