Returns this TTS's capabilities
Get the model name/identifier for this TTS instance.
The model name if available, "unknown" otherwise.
Plugins should override this property to provide their model information.
Returns the channel count of audio frames returned by this TTS
Get the provider name for this TTS instance.
The provider name if available, "unknown" otherwise.
Plugins should override this property to provide their provider information.
Returns the sample rate of audio frames returned by this TTS
Returns a SynthesizeStream that can be used to push text and receive audio data
Optional options: { Optional configuration including connection options
Optional connReceives text and returns synthesis in the form of a ChunkedStream
Optional connOptions: APIConnectOptionsOptional abortSignal: AbortSignal
Deepgram Flux TTS (the
/v2/speakendpoint).Sits alongside TTS, the Aura client for
/v1/speak; this class does not replace it. Both the streaming (TTSv2.stream) and batch (TTSv2.synthesize) paths emitlinear16only — Deepgram also offers mp3/opus/flac/aac, but the LiveKit pipeline plays raw PCM and this plugin ships no decoder, so any other encoding is rejected.Example