able-jackal-84140
06/25/2025, 11:53 AMtall-airline-16756
06/25/2025, 11:53 AMtall-airline-16756
06/25/2025, 11:53 AMuse_streaming
parameter to True
when initializing your TTS provider. Here's an example:
super().__init__(
capabilities=tts.TTSCapabilities(streaming=True),
sample_rate=sample_rate,
num_channels=1,
)
Please note that if you enable SSML support, streaming synthesis cannot be used simultaneously. Let me know if you need further assistance!
Sources: GitHub::livekit::agents | livekit-plugins/livekit-plugins-google/livekit/pl... | TTSCapabilities | LiveKit Agentsable-jackal-84140
06/25/2025, 12:00 PMtall-airline-16756
06/25/2025, 12:01 PMuse_streaming
parameter to True
when you're setting up the TTS service. Here's a quick example to show you exactly how:
super().__init__(
capabilities=tts.TTSCapabilities(streaming=True),
sample_rate=sample_rate,
num_channels=1,
)
Just one small heads-up: if you're planning to use SSML (Speech Synthesis Markup Language), streaming synthesis won't work at the same time. No worries, though! If you're curious about anything or need a bit more help, I'm totally here for you. Just ask, and I'll be happy to walk you through it! 😊 Sources: GitHub::livekit::agents | livekit-plugins/livekit-plugins-google/livekit/pl...able-jackal-84140
06/25/2025, 12:01 PMtall-airline-16756
06/25/2025, 12:01 PM