JitsiMediaDevicesEvents
Events related to media device management, including device connection/disconnection and permission changes.DEVICE_LIST_CHANGED
Event:mediaDevices.devicechange
Fires when the list of available media devices has changed. This includes when devices are connected, disconnected, or become available/unavailable.
MediaDeviceInfo[]
Array of MediaDeviceInfo or MediaDeviceInfo-like objects representing all currently connected media devices (cameras, microphones, speakers)
See MediaDeviceInfo for details about the device object structure.
PERMISSIONS_CHANGED
Event:rtc.permissions_changed
Fires when the user has granted or blocked a permission for the camera or microphone. This event is used to keep track of granted permissions on browsers that don’t support the Permissions API.
object
Object containing the current permission states for audio and video
PERMISSION_PROMPT_IS_SHOWN
Event:mediaDevices.permissionPromptIsShown
Fires when the browser environment is currently showing a permission prompt to access camera and/or microphone.
'chrome' | 'opera' | 'firefox' | 'safari' | 'nwjs' | 'react-native' | 'android'
The type of browser or execution environment that is showing the permission prompt