Emitted when a viewer joins the audio call.
The payload identifies the viewer agent. Update audio status indicators to reflect the viewer is now active on the call.
interaction.subscribe(InteractionEventType.INTERACTION_VIEWER_JOINED_CALL, (event) => { console.log("Viewer rejoined call:", event.payload.viewerId);}); Copy
interaction.subscribe(InteractionEventType.INTERACTION_VIEWER_JOINED_CALL, (event) => { console.log("Viewer rejoined call:", event.payload.viewerId);});
The event type identifier.
The event payload containing event-specific data.
The timestamp when the event occurred.
Emitted when a viewer joins the audio call.
The payload identifies the viewer agent. Update audio status indicators to reflect the viewer is now active on the call.
Example
See