Static assertStatic filterFilter for specific kinds of devices
Optional groupId: stringFilter by group. A groupId specifies devices belonging together, eg. camera and microphone of a single webcam
Optional deviceId: stringFilter by deviceId. Each device, cameras and microphones, has its unique id.
List of media device descriptors resulting
Static getOptional audioVideoOnly: TrackKindRestricts the permission probe to the given track kind, so e.g. a denied camera does not block enumerating audio devices in audio-only mode.
Static getUses global Permissions API.
Devices where to check permissions can be obtained for camera & microphone.
Optional onRejection: ErrorCbhttps://developer.mozilla.org/en-US/docs/Web/API/Permissions_API Get device permissions (checking only audioinput & videoinput kinds) on Chromium browsers for Desktop & Android. Use getUserMedia on Firefox and iOS.
Static getStatic isGenerated using TypeDoc
Array of device descriptors