Page 1 of 1

How to mute the microphone in VoIP/esp-rtc examples ?

Posted: Mon May 13, 2024 3:26 am
by migmel
Hello guys,
Does anybody know how to silence the microphone in VoIP or esp-rtc examples?
The issue I am facing now is because i use the speaker really loud, the echo cancellation feature cannot completely remove the echo coming from the speaker, so I want to mute the microphone just when audio data is sent to the speaker.
I know the 2-talk feature will be disabled, but for now its the best workaround I can see to remove the echo in the far end user device
Thank you

Re: How to mute the microphone in VoIP/esp-rtc examples ?

Posted: Mon May 13, 2024 6:06 pm
by liaifat85
muting the microphone while audio is being played through the speaker can be done by programming.

Re: How to mute the microphone in VoIP/esp-rtc examples ?

Posted: Tue May 14, 2024 9:27 am
by migmel
Thank you for your reply,
Yes, I guess/hope it can be done by programming. But the question is how to do it?
Has anybody already done it ?