but i am talking about the initial 5 dots loading,...
# ask-ai
l
but i am talking about the initial 5 dots loading, i am using beyond presence for avatar and i call it using api. so you are telling me, if i remove the avatar will it connect fast? and what is causing this latency?
t
Thanks for reaching out, Computer. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks for reaching out! The initial 5 dots loading you’re seeing is most likely part of the setup process for the avatar generation system. Here’s a little insight into what’s happening: • It’s establishing a connection to a remote server that handles avatar processing, which uses specialized GPUs. • It’s synchronizing audio and video streams, since the avatar worker processes the audio input and creates the matching video output. • There’s some network overhead involved, with multiple steps like sending audio to the avatar worker and then publishing the synchronized streams back to the room. If you remove the avatar, it might help reduce this delay because it skips those extra processing steps. However, some latency is naturally part of how the system works, given the computational needs for generating avatars. To help optimize things further, I recommend making sure your agents and AI services are deployed in the same region—this can really cut down on network delays. If you’d like, I’m here to walk you through more tips on reducing latency or improving your setup. Just let me know! Sources: Community & Support | livekit/livekit_composite | DeepWiki | Bringing AI avatars to voice agents | livekit-plugins/livekit-plugins-bithuman/livekit/plugins/bithuman/avatar.py | Bringing AI avatars to voice agents | Operational Guidance & Best Practices | livekit/livekit_composite | DeepWik...