getInputDevices()

getInputDevices()

Compatibility:
Prebuilt
Custom

Returns a Promise that resolves to return data about the camera and microphone devices that are currently being used. The data is copied from the MediaDeviceInfo structure for each device.