Returns information about a participant's media devices and their states, along with helper functions that wrap
daily-js device-related methods.
For more information about the different error states, check the
Returns an object with the following properties:
|An array of device objects that contains information about each camera|
|An array of device objects that contains information about each microphone|
|Refreshes the list of devices using |
|Switches to the camera with the specified |
|Switches to the mic with the specified |
|Switches to the speaker with the specified |
|An array of device objects that contains information about each speaker|
micState have a new default value of
"idle" (in previous versions of Daily React, this value was
Both states remain
"idle" as long as no device access has been requested, which is the case for rooms configured with
start_audio_off: true and
Once device access is requested,
micState switch to
"pending", as long as device access is pending.
Once the user grants device access they will switch to
"granted". In case the user blocked device access they switch to
In case of an error the most representative error state will be applied.
Device object properties
|The same device information returned from |