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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 17 02:40:36 PST 2019


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

--- Comment #7 from youenn fablet <youennf at gmail.com> ---
Applying echoCancellation does not work with getUserMedia.
A workaround is to applyConstraints on the track:

const stream = await navigator.mediaDevices.getUserMedia({ audio : true });
stream.getAudioTracks()[0].applyConstraints({echoCancellation: false});

-- 
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/20191117/7a1d0d9f/attachment.htm>


More information about the webkit-unassigned mailing list