Discussions

Ask a Question
Back to all

Keep alive not working, websocket closing after 5 minutes

Hi Team,

I am subscribed to LiveAvatar where my max session is supposedly 20 minutes. I tried to test the idle mode of the avatar and it disconnected after 2 minutes. I tried to send keep_alive through LiveAvatar's Websocket every 60s, but the session only stayed after 5 minutes, as soon as the websocket closed at that time.

I tried to send keep_alive through the API endpoint, every 60s, similar failed outcome.

I tried to send start_listening events through LiveAvatar's websocket every 60s, similar failed outcome.

How can I ensure to keep the avatar until 20 minutes?