[Webkit-unassigned] [Bug 230819] applyConstraints throws OverconstrainedError if specify exact for deviceId

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 27 10:08:57 PDT 2021


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

--- Comment #3 from Trung Le <ldttmt at gmail.com> ---
I have been able to reproduce this issue with just use navigator.mediaDevices.getUserMedia() and applyConstraints() API.
Repo steps:

- Call stream = navigator.mediaDevices.getUserMedia({ video: { deviceId: { exact: <deviceId string> }}}); <- exact here works.
- Call stream.getVideoTracks()[0].applyConstraints({ deviceId: { exact: <deviceId string> }}); <- throw OverconstrainedError error in Safari 15 but not Safari 14.

-- 
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/20210927/82ea28dc/attachment.htm>


More information about the webkit-unassigned mailing list