Discussions
Reducing Latency In Custom Mode
last month by Antonio Palomino Hernandez
Hi Everyone,
I would know if there's a way to improve the current latency while waiting to get the generated video stream. In my case, I'm using a custom mode with the LiveKit plugin, so we're using the session.say() method with some custom text and noticed a latency from 5s to 7s to start getting it.
I also want to add that when I tried to run a sync speak, it just took so much time to finish the process (more than 20s, it seem like it got stuck), more specifically in pyhton way:
handle = await session.say("Some Text")
handle.done: some_custom_func()
This issue make me use the method say asynchronous and throw an interrupt() before to prevent it from stepp with some previous speak.
Thank for your time, Team!!
Regards, Antonio Palomino