This message was deleted.
# ask-ai
s
This message was deleted.
g
It seems likely that the issue with your TTS integration with LiveKit might be related to the audio encoding format being used. According to the LiveKit documentation, LiveKit supports decoding MP3 data into PCM audio using the
Mp3StreamDecoder
class. If your TTS is outputting audio in a format that is not directly supported or expected by LiveKit, such as a different codec or sample rate, this could result in the audio issues you're experiencing. To resolve this, you might want to ensure that your TTS output is in a format compatible with LiveKit's expected input, such as PCM audio. You can use the
Mp3StreamDecoder
to convert MP3 data to PCM if needed. Additionally, check that your audio transcoding settings are correctly configured to handle the conversion from your TTS output format to a format that LiveKit can process. Would you like more detailed guidance on configuring your TTS output or transcoding settings? Sources: - LiveKit documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.