How to disable system audio enhancements using webRTC?
Asked Answered
E

0

4

On different systems (Windows/Android/etc.) there are some "built-in" audio enhancements. For example AEC (autmatic echo cancellation), NR (noise reduction) and Automatic Gain Control. Everyone can have those turned off or on in any combination.

There are also audio enhancements on some browsers (i know about Chrome and Firefox)

It is possible to turn them all off using webRTC?

For all I know, it is possible to turn off those "browser enhancements" and I think I managed it by specifying mediaConstraints. Example for Chrome:

var mediaConstraints = {
    audio: {
        echoCancellation: { exact: false },
        googEchoCancellation: { exact: false },
        googAutoGainControl: { exact: false },
        googNoiseSuppression: { exact: false },
    }
}

Can't find solution to turn off system/device-specific audio enhancements. There is similar question: WebRTC - disable all audio processing, but I think it addresses only those browser enhancements.

Encratia answered 1/6, 2017 at 12:22 Comment(4)
Possible duplicate of Disabling Auto Gain Conctrol with WebRTC AppCasework
Note you won't need the goog prefixes anymore if you use adapter.js, as these were standardized recently.Casework
@Casework Thanks for information about prefixes. I think this possible duplicate adresses browser auto gain control. I renamed question, so that it states clearly that what I need is disabling system audio enhancements.Encratia
This is the only microphone control surface in WebRTC.Casework

© 2022 - 2024 — McMap. All rights reserved.