clientSendSessionUpdateobjectRequired
Event that must be sent after the WebSocket connection is established
and before sending audio. Sets the input audio format, sampling rate,
source language, and target language.
clientSendAudioobjectRequired
Sends a Base64-encoded audio chunk (as a JSON frame). Alternatively,
PCM/Opus data can be sent directly as binary frames.
clientCommitAudioobjectRequired
Sent when ending audio transmission (e.g., when the microphone is
turned off). The server processes all remaining audio in the buffer.
serverReceiveEventsobjectRequired
Receives session creation, text deltas, audio deltas, commit
completion notifications, errors, and so on.
serverReceiveEventsobjectRequired
Receives session creation, text deltas, audio deltas, commit
completion notifications, errors, and so on.
serverReceiveEventsobjectRequired
Receives session creation, text deltas, audio deltas, commit
completion notifications, errors, and so on.
serverReceiveEventsobjectRequired
Receives session creation, text deltas, audio deltas, commit
completion notifications, errors, and so on.
serverReceiveEventsobjectRequired
Receives session creation, text deltas, audio deltas, commit
completion notifications, errors, and so on.
serverReceiveEventsobjectRequired
Receives session creation, text deltas, audio deltas, commit
completion notifications, errors, and so on.
serverReceiveEventsobjectRequired
Receives session creation, text deltas, audio deltas, commit
completion notifications, errors, and so on.
serverReceiveEventsobjectRequired
Receives session creation, text deltas, audio deltas, commit
completion notifications, errors, and so on.