The tts is not sending the audio until it receies ...
# ask-ai
a
The tts is not sending the audio until it receies the next chunk. Why is this happening?
t
Thanks for reaching out, Aditya. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Which TTS provider are you using with LiveKit (e.g., Neuphonic, Cartesia, ElevenLabs), and are you explicitly calling the
flush()
method after sending each chunk of text? This will help determine if provider-specific buffering or flushing logic is involved. Sources: Live Conversations with AI using ChatGPT and WebRTC | livekit-agents/livekit/agents/tts/tts.py | plugins/resemble/src/tts.ts