Skip to main content
These events fire when the camera starts or encounters an error, when input or output devices change, and when media send/receive settings are updated.

started-camera

Fires when the local participant’s camera starts. This happens as part of the standard join flow, or when explicitly calling startCamera().

camera-error

Fires when a camera or microphone error occurs. The error.type field categorizes the problem; error.msg is a human-readable description.
For more on handling device errors, see the device permissions guide.
string
Always "camera-error".
string
The ID of the call client instance that emitted this event.
object
Always contains type and msg. Some types include additional fields.
string | object
deprecated
Retained for backwards compatibility.

available-devices-updated

Fires when a device becomes available or is removed — for example when a headset is connected or disconnected. See enumerateDevices() for details on the device properties returned.
string
Always "available-devices-updated".
string
The ID of the call client instance that emitted this event.
MediaDeviceInfo[]
An array of MediaDeviceInfo objects representing all devices currently available to the browser.

selected-devices-updated

Fires when the participant selects a new input or output device. Unlike available-devices-updated, which fires whenever the system device list changes, this event only fires when the participant has actively chosen a different device.
string
Always "selected-devices-updated".
string
The ID of the call client instance that emitted this event.
object
Contains camera, mic, and speaker keys with MediaDeviceInfo-shaped objects for the newly selected devices.

input-settings-updated

Fires every time the input settings object changes. Includes all current input settings, even those that did not change.
string
Always "input-settings-updated".
string
The ID of the call client instance that emitted this event.
object
The full current input settings object, including video and audio keys with their settings and processor sub-objects.

send-settings-updated

Fires when the call’s send settings change. Includes the full current send settings object.
string
Always "send-settings-updated".
string
The ID of the call client instance that emitted this event.
DailySendSettings
The full current send settings object. See updateSendSettings() for the shape.

receive-settings-updated

Fires when the call’s receive settings change. Includes the full current receive settings object.
string
Always "receive-settings-updated".
string
The ID of the call client instance that emitted this event.
DailyReceiveSettings
The full current receive settings object. See updateReceiveSettings() for the shape.

See also