track-started
Prebuilt Custom Fires when a participant’s media track begins. Use this to attach the track to a media element or update your UI when a new audio, video, or screen share track becomes available.Always
"track-started".The ID of the call client instance that emitted this event.
The participant whose track started. See
participants() for the full shape.The MediaStreamTrack that started.
The track type. One of
'audio', 'video', 'screenAudio', 'screenVideo', or a custom track name.track-stopped
Prebuilt Custom Fires when a participant’s media track stops. Use this to remove a media element or update your UI when a track is no longer active.Always
"track-stopped".The ID of the call client instance that emitted this event.
The participant whose track stopped. See
participants() for the full shape.The MediaStreamTrack that stopped.
The track type. One of
'audio', 'video', 'screenAudio', 'screenVideo', or a custom track name.local-screen-share-started
Prebuilt Custom Fires when the local participant’s screen share has started. Use this to update your UI to reflect that sharing is active.Always
"local-screen-share-started".The ID of the call client instance that emitted this event.
local-screen-share-stopped
Prebuilt Custom Fires when the local participant’s screen share has stopped. Use this to reset any screen-share UI state.Always
"local-screen-share-stopped".The ID of the call client instance that emitted this event.
local-screen-share-canceled
Prebuilt Custom Fires when the user dismisses the browser’s screen picker before ever starting a screen share.Detection of this user action only works in Chrome. On Safari and Firefox, this action is reported as the user blocking the permission and a nonfatal
screen-share-error event is sent instead.Always
"local-screen-share-canceled".The ID of the call client instance that emitted this event.
local-audio-level
Prebuilt Custom Fires at the frequency specified when starting the local audio level observer, providing the local participant’s current audio level. Use this to drive a volume indicator in your UI.Always
"local-audio-level".The ID of the call client instance that emitted this event.
The local participant’s current audio level, from
0.0 (silent) to 1.0 (maximum).remote-participants-audio-level
Prebuilt Custom Fires at the frequency specified when starting the remote participants audio level observer, providing audio levels for all remote participants. Use this to drive per-participant volume indicators or highlight the active speaker.Always
"remote-participants-audio-level".The ID of the call client instance that emitted this event.
A map of participant
session_id to audio level (0.0–1.0). Only remote participants are included.face-counts-updated
Prebuilt Custom Fires when the face count in the local camera view has changed. Use this to identify how many people are visible in frame at a given time. This event is only emitted while theface-detection video processor is active. See updateInputSettings() for details on enabling it.
Always
"face-counts-updated".The ID of the call client instance that emitted this event.
The number of faces currently detected in the local camera view.