steep-shampoo-86436
12/31/2025, 3:18 PMtall-airline-16756
12/31/2025, 3:18 PMtall-airline-16756
12/31/2025, 3:19 PMvoice_id, chunkLengthSchedule, enable_ssml_parsing or any other custom params)?
• Any client/server logs or error messages showing disconnections or exceptions?
• A short sample text that reproduces the problem?
Quick checks you can try meanwhile:
• Send plain multi-sentence text with enable_ssml_parsing disabled.
• Ensure chunkLengthSchedule is set (try defaults: [80, 120, 200, 260]).
• Watch for WebSocket disconnects or early flush() calls in logs.
Send the details and a log snippet and I’ll guide you through the next steps.
Sources: examples/voice_agents | livekit/livekit_composite | DeepWiki | ElevenLabs TTS plugin guide | LiveKit docs | Build voice, video, and physical AI | LiveKitsteep-shampoo-86436
12/31/2025, 3:38 PMchunkLengthSchedule, enable_ssml_parsing
is there a mandatory props i need to set?tall-airline-16756
12/31/2025, 3:38 PMvoice_id
◦ model
◦ the text string you want synthesized
• Optional (have sensible defaults):
◦ chunkLengthSchedule — optional; defaults like [80, 120, 200, 260] are typical. Set it only if you’re tuning streaming chunk sizes.
◦ enable_ssml_parsing — optional; defaults to off. Try disabling it if you’re not sending SSML.
◦ streaming_latency and other tuning params — optional.
If you haven’t set chunkLengthSchedule or enable_ssml_parsing, that’s fine — they’re not mandatory. To troubleshoot the “only first sentence spoken” issue, explicitly set conservative defaults and test:
from livekit.plugins import elevenlabs
tts = elevenlabs.TTS(
model="eleven_multilingual_v2",
voice_id="your_voice_id",
chunk_length_schedule=[80, 120, 200, 260],
enable_ssml_parsing=False
)
# pass a multi-sentence string to synthesize
If the problem persists after trying the above, please share your platform (Web/Node/Python), the exact model and voice_id you’re using, and a short sample text that reproduces the issue.