Disabling AGC in Chrome 51

1,268 views
Skip to first unread message

Michael Graves

unread,
Jul 12, 2016, 5:11:51 PM7/12/16
to discuss-webrtc
Hello All,

We have a WebRTC-based audio application that requires that AEC be disabled. The AEC mangles outbound audio while in double-talk. So we force our users to wear a headset and turn off AEC. 

I'm given to understand that when AEC is disabled AGC is also disabled. See the comments here as evidence of this. 

However, what I experience is that the microphone gain is still being adjusted by the browser! It almost always goes up to 100% eventually.If there's any acoustic leakage from the user's headset the excessive mic level induces echo.

Q1: Is disabling AEC using googEchoCancellation = false; the definitive way to also disable AGC?

Q2: If not, how can I ensure that AGC is disabled?

Many thanks,

Michael Graves

Christoffer Jansson

unread,
Jul 13, 2016, 2:24:47 AM7/13/16
to discuss...@googlegroups.com
On Tue, Jul 12, 2016 at 11:11 PM Michael Graves <mr.micha...@gmail.com> wrote:
Hello All,

We have a WebRTC-based audio application that requires that AEC be disabled. The AEC mangles outbound audio while in double-talk. So we force our users to wear a headset and turn off AEC. 

I'm given to understand that when AEC is disabled AGC is also disabled. See the comments here as evidence of this. 

However, what I experience is that the microphone gain is still being adjusted by the browser! It almost always goes up to 100% eventually.If there's any acoustic leakage from the user's headset the excessive mic level induces echo.

Q1: Is disabling AEC using googEchoCancellation = false; the definitive way to also disable AGC?
No, there is however a global flag for all audio processing called echoCancellation (yes it is a bit confusing) which you can see Patrik is mentioning in the comments in the article you linked.

Q2: If not, how can I ensure that AGC is disabled?
googAutoGainControl = false.

PTAL at https://appr.tc/params.html for info on most supported parameters. 

Many thanks,

Michael Graves

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/7bf7818e-11c0-4f47-82b5-f4c36bd6829c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
/Chris
Reply all
Reply to author
Forward
0 new messages