Discussions
Voice Chat with Streaming Avatar using SDK
Hi there
I have a working version of a voice chat with a streaming avatar using a custom knowledge base. It works great. The problem I face for the real world implementation, background noise is interrupting the avatar. I want to programatically MUTE the participants microphone while the avatar is speaking. I have the event handlers all set up and they fire correctly, i just need to know how to mute the participants mic at those points.
Initialising the voice chat with isInputAudioMuted: true mutes the microphone indefinitely. I cannot stop the conversation and start it again as it has a preset conversation flow and do not want it to start over again.
is there something like avatar.muteParticipantMicrophone or something along those lines that exists that im not seeing?
Please help.
Regards,
Darren