What does this error mean: `speech not done in tim...
# ask-ai
g
What does this error mean:
speech not done in time after interruption, cancelling the speech arbitrarily.
t
Thanks for reaching out, Aumesh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — you're asking what this error means. This message means the system was speaking (TTS/playback) and an interruption occurred (for example, user input or a session interrupt). The speech did not stop or finish within the expected time after that interruption, so the framework forcibly cancelled the speech to keep the agent responsive. Common causes: • A long-running TTS synthesis or audio output that doesn’t stop quickly after an interrupt. • Slow cleanup of the audio stream or playback device. • Interrupt handling took longer than the allowed timeout. If you want, tell me: • Are you using TTS playback or streaming audio? • When does the error appear (on every interrupt or only occasionally)? With those details I can suggest specific troubleshooting steps. Sources: Tool definition and use | LiveKit docs | Agent speech and audio | LiveKit docs | Turns overview | LiveKit docs | examples/voice_agents | livekit/livekit_composite | DeepWiki