able-jackal-84140
06/25/2025, 5:50 AMtall-airline-16756
06/25/2025, 5:51 AMtall-airline-16756
06/25/2025, 5:51 AMstreaming
parameter to false
. Here are two examples:
• In the OpenAI plugin test file, you can explicitly set streaming to false: await tts(new TTS(), new STT(), { streaming: false });
• In the Spitch TTS implementation, streaming is disabled by default in the constructor: def __init__(self, *, language: str = "en", voice: "lina"):
super().__init__(
capabilities=tts.TTSCapabilities(streaming=False), sample_rate=24_000, num_channels=1
)
Let me know if you need further assistance with this!
Sources: GitHub::livekit::livekit_composite | livekit/agents/livekit-plugins/livekit...able-jackal-84140
06/25/2025, 10:18 AMtall-airline-16756
06/25/2025, 10:18 AMawait tts(new TTS(), new STT(), { streaming: false });
Example 2: Spitch TTS implementation
def __init__(self, *, language: str = "en", voice: "lina"):
super().__init__(
capabilities=tts.TTSCapabilities(streaming=False), sample_rate=24_000, num_channels=1
)
I'm happy to walk you through this or provide more details if anything isn't crystal clear. Just ask! 😊able-jackal-84140
06/25/2025, 10:21 AMtall-airline-16756
06/25/2025, 10:21 AM