miniature-lifeguard-87511
07/15/2025, 5:08 AMtall-airline-16756
07/15/2025, 5:08 AMtall-airline-16756
07/15/2025, 5:08 AMmin_endpointing_delay
to control the minimum silence duration for end-of-turn detection. Lowering this value can make the bot more responsive.
• Voice Pipeline Agent (VPA) Options: Parameters like minEndpointingDelay
, preemptiveSynthesis
, and turnDetector
can be tuned for latency optimization.
• TTS Provider-Specific Settings:
◦ ElevenLabs: Use streaming_latency
(0-4), auto_mode
(for full sentences/phrases), and chunk_length_schedule
to reduce latency.
◦ Rime: Set reduce_latency
to true
to skip text normalization.
◦ Speechify: Disable text_normalization
and loudness_normalization
to avoid extra processing delays.
• Network Proximity: Place your agent close to LLM, STT, and TTS services to minimize network delays.
• Metrics Monitoring: Use the Agents metrics API to track Time To First Token (TTFT) and Time To First Byte (TTFB) for latency analysis.
These options allow you to fine-tune the voice pipeline for your specific latency requirements.
Sources: VoicePipelineAgent | LiveKit Docs | VPAOptions | LiveKit Agents | livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/tts.p... | Rime integration guide | LiveKit Docs | Speechify TTS integration guide | LiveKit Docsminiature-lifeguard-87511
07/15/2025, 5:21 AMtall-airline-16756
07/15/2025, 5:22 AMminiature-lifeguard-87511
07/15/2025, 9:50 AMtall-airline-16756
07/15/2025, 9:51 AM