[Webkit-unassigned] [Bug 179411] getUserMedia constraints have no affect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 24 08:42:25 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=179411

Ryan Clough <rclough at spotify.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rclough at spotify.com

--- Comment #6 from Ryan Clough <rclough at spotify.com> ---
Hello, I'd like to confirm the bug reported in this ticket. I've been working on detecting high frequency content in JS, and found this ticket trying to find confirmation that there's no way to remove the low pass filter on Safari/webkit WebAudio mic inputs.

I first noticed it heuristically when live graphing an FFT of my mic input, that when I play white noise, theres a low pass that cuts off at about 12khz. No other browser with constraints "noiseSupression" and "echoCancellation" set to false. 

For example my code looks as such:

        navigator.mediaDevices.getUserMedia({
          "audio": {
            echoCancellation: false,
            autoGainControl: false,
            noiseSuppression: false
          },
        }).then(...).catch(...)

Upon further investigation, you can verify that webkit simply does not support the constraints by running:

console.log(navigator.mediaDevices.getSupportedConstraints());

Which will output something like this:

aspectRatio: true
deviceId: true
echoCancellation: false
facingMode: true
frameRate: true
groupId: false
height: true
sampleRate: false
sampleSize: false
volume: true
width: true

As you can see, noiseSupression and echoCancellation are simply not in the list.

Obviously I'm writing because I really wish this would be added to bring webkit to parity with other browsers

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191024/1ce20f90/attachment.htm>


More information about the webkit-unassigned mailing list