onAgentTranscriptionReceived

open fun onAgentTranscriptionReceived(transcription: TranscriptionSegment, participant: Participant)

Called with each transcript segment produced while an AI agent is in the room, covering what the agent heard as well as what it said.

Delivered to every AgentParticipant in the room, not to the speaker — register on the agent, then read participant to see who spoke. A segment whose speaker this device does not know is dropped rather than delivered with a fabricated participant.

Parameters

participant

who spoke this segment; may be the local participant.