New issue
Advanced search Search tips

Issue 792391 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Feature



Sign in to add a comment

AutoGainControl disable: add CLI flag

Reported by virus.fl...@gmail.com, Dec 6 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/62.0.3202.94 Chrome/62.0.3202.94 Safari/537.36

Example URL:
https://demo.bigbluebutton.org

Steps to reproduce the problem:
While audio input working via WebRTC (+ PulseAudio), Chromium's AutoGainControl is automatically trying to adjust the microphone's level. I do NOT need it, because I manually adjust my microphone level via Pavucontrol and do not it to be dynamically changed.

From time to time AGC makes audio conferencing impossible because it tries to adjust my microphone to a very high level at which it produces a lot of noise.

E.g., Ubuntu 16.04 + webcam's Logitech C310 microphone produces good sound at 25% (via Pulseaudio/Pavucontrol), but when talking at https://demo.bigbluebutton.org Chromium's AutoGainControl makes the input level of Logitech C310 arround 75%, what makes it produce a lot of noise. How ever, this issue can be reproduces not every time and not every day. maybe other times AGC does work, but does not adjust the microphone to a so high level.

In Firefox, there is no AGC and I just set my microphone to 25% and have a nice online meeting.

I saw other people randomly having a similar issue at Hangouts, but that was somewhere about 6 months ago.

It will not be possible to make AGC work smoothly in 100% of situations, so,

Please add a command-line flag to launch Chromium with AutoGainControl disabled.

What is the expected behavior?

What went wrong?
.

Did this work before? No 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes

Chrome version: 62.0.3202.94  Channel: stable
OS Version: Ubuntu 17.10, 16.04
Flash Version: 

Contents of chrome://gpu:
 
Lots of people have faced badly working AGC for a few years:
https://www.google.com/search?q=chromium+disable+autogaincontrol
If this does not occur in Windows on with the same microphone (I did not test), it may be because Windows+Logitech have a software noise suppression/cancellation working which cannot be disabled and makes microphone sound much worse than it is in Linux.
Components: -Internals>Media Blink>WebRTC
Labels: -Type-Bug M-65 Needs-Triage-M62 Triaged-ET Type-Feature
Status: Untriaged (was: Unconfirmed)
As per the comment #0, "Please add a command-line flag to launch Chromium with AutoGainControl disabled." marking it as untriaged as it seems to be a feature request.

Thanks...!!
You can use the echoCancellation flag to disable all audio processing, including autoGainControl.

You can also use the old-style constraints syntax to disable autoGainControl with getUserMedia.

Something like 
getUserMedia({audio: {mandatory: googAutoGainControl: false}})

should work.

We plan to add support for the standard autoGainControl constrainable property too, so that it can be used with the standard syntax.

It's unlikely that we will add a command-line flag just for this.

In the message above I meant echoCancellation constrainable property with getUserMedia() instead of flag.
Labels: Needs-Feedback
Why should I edit the web application just because AutoGainControl works incorrectly in a few cases only, but by far not in 100% cases? And what if I don't have access to the WebRTC application's source code?
ping. It's really annoying when AutoGainControl in Chromium or applications built on top of Electron/QtWebEngine starts gaining the microphone from time to time !
Components: -Blink>WebRTC Blink>WebRTC>Audio
Labels: -Needs-Feedback
Passing to audio team to check if there is anything actionable here about AGC here.
Support for autoGainControl standard constrainable property has landed.

Cc: grunell@chromium.org ossu@chromium.org
Owner: alessiob@chromium.org
Status: Assigned (was: Untriaged)
alessiob@: do you know if googAutoGainControl: false disables the analog AGC in Chrome?
Cc: henrika@chromium.org
ping

Sign in to add a comment