Welcome to the new Daily Docs. Please let us know what you think.

getInputDevices()

getInputDevices()

Compatibility:
Prebuilt
Custom

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