Skip to main content
These events fire at key points in the call lifecycle — from the moment the call bundle starts loading through joining, leaving, and destroying the call instance.

loading

Fires when the JavaScript bundle responsible for the call begins loading. This is the first event in the join() sequence, or the load() sequence if you invoke that directly.

loaded

Fires when the JavaScript bundle has finished loading. This occurs right before joining-meeting in the join() sequence, or as the final event in the load() sequence.

load-attempt-failed

Fires when a single attempt to load the call bundle has failed. Daily retries a few times before emitting a fatal error event.
string
Always "load-attempt-failed".
string
The ID of the call client instance that emitted this event.
string
A human-readable description of why the load attempt failed.

joining-meeting

Fires once the call bundle has loaded and the participant is actively connecting. This follows loaded in a successful join() sequence.

joined-meeting

Fires once the local participant has successfully joined the call.
The participants object in this event only includes the local participant. Remote participant information is sent in batches of 50 after this event fires via participant-joined events. To get a total count at join time, use participantCounts().
string
Always "joined-meeting".
string
The ID of the call client instance that emitted this event.
object
Contains only the local participant at join time. See DailyParticipant for the full shape.

left-meeting

Fires once the local participant has left the call.

call-instance-destroyed

Fires after destroy() has been called and all resources have been freed. After this event, isDestroyed() returns true. Listen for this event if you store the call instance in multiple places, to ensure all references are cleared.

access-state-updated

Fires when accessState() changes — either the participant’s access level changed, or an access request was made or resolved.
string
Always "access-state-updated".
string
The ID of the call client instance that emitted this event.
object
The current access state. The level field is one of 'none', 'lobby', or 'full'.
object
Present when the participant has requested access that hasn’t yet been granted or denied. Contains a level field for the requested access level.

See also