Is there a specific amount of timeout for which li...
# ask-ai
c
Is there a specific amount of timeout for which livekit voiceagentpipeline waits for streaming before it actually sends to TTS?
t
Thanks for reaching out, Bharath. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking whether the voice agent pipeline uses a fixed timeout before sending streaming input to TTS. It does not use a single fixed timeout. The pipeline waits using end-of-utterance detection (VAD or a turn-detection model) and applies a dynamic endpointing delay before triggering the LLM/TTS pipeline: • min_endpointing_delay: 0.5 seconds (default) • max_endpointing_delay: 6.0 seconds (default) The actual delay used depends on confidence the speaker finished; preemptive generation can also begin before turn end using partial transcripts to reduce latency. Sources: examples/frontdesk | livekit/livekit_composite | DeepWiki | examples/voice_agents | livekit/livekit_composite | DeepWiki | Agents (Node.js) | livekit/livekit_composite | DeepWiki | Turn detection and interruptions | LiveKit Docs | Agent speech and audio | LiveKit docs