Discussions

Ask a Question
Back to all

Voice Agent Integration in Custom Mode

When trying to integrate with a voice agent, I'm encountering a problem. Providers, such as Vapi or other companies, continuously stream the audio output. However, in the liveavatar SDK, I only have the repeatAudio function. Unfortunately, providing this function with small chunks of the streamed audio isn't enough. So, what can I do to solve this problem? Trying to understand how the FULL mode works, I suspect you're also performing a streaming operation. Because no matter how long the generated text is, the avatar still starts speaking after a short time. How can I solve this problem? How did you solve it?