Discussions

Ask a Question
Back to All

How to detect the event that the Interactive avatar has stopped speaking so that user's mic can be enabled.

We have an interactive avatar Bot using HeyGen Interactive avatar API with a custom bot engine. Everything works great except that we can't detect the event that the Bot has stopped speaking. This is very cruical for us to enable the mic for the user (who is interacting with the avatar).

Is there a way to do the above.

If we keep the user's mic on, then the mic is picking up what the avatar is saying and passing to the Bot thinking that is what the user has spoken. Is there a way we can keep the user's mic ON and yet not pass the Avatar's uttenaces as user's input to the Bot.?

Any help will be highly appreciated.

heygentechsupport