Skip to content

TtsErrorMessage

Defined in: packages/realtime-protocol/dist/lib/livekit-wire.d.ts:51

Sent worker → browser adapter on the TTS_TOPIC when TTS synthesis fails.

type: "tts_error"

Defined in: packages/realtime-protocol/dist/lib/livekit-wire.d.ts:52


optional utteranceId?: number

Defined in: packages/realtime-protocol/dist/lib/livekit-wire.d.ts:59

The utterance this status refers to, echoed from the speak request’s SPEAK_UTTERANCE_ID_ATTR. Absent when the worker never received an id (older/id-less speak requests); the client then falls back to type-only handling.