Discussions
Streaming Avatar - Speak trigger is sometimes slow, and the session fails to stop
5 days ago by Sumarsono
I’m using a streaming avatar with a manual speak trigger. Generally, it works quickly with no noticeable delay. However, during a 3-hour non-stop session, there are 2-3 instances where triggering the speak action becomes slow. We wait for up to 2 minutes, but it remains stuck in a loading state.
I also tried stopping the session manually, but it failed, returning either a 401 or sometimes a 500 error. The only solution that works is restarting the app (and consequently the SDK) and starting a new session. Unfortunately, this approach does not meet our requirements.
Do you have any suggestions on how to address this issue? Specifically, is there a better approach to reliably stop the session in scenarios like this?