[Webkit-unassigned] [Bug 177126] New: getUserMedia fails with an OverConstrainedError when no devices are found

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 19 01:01:54 PDT 2017


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

            Bug ID: 177126
           Summary: getUserMedia fails with an OverConstrainedError when
                    no devices are found
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tkbremnes at gmail.com
                CC: youennf at gmail.com

If no devices are detected (MediaDevices.enumerateDevices responds with an empty array), the MediaDevices.getUserMedia fails with a OverConstrainedError.

This can happen if the webcam for some reason fails (happens from time to time on MacOS), or always in the case of the iOS Simulator.

According to the specs, it should have failed with a NotFoundError – OverConstrainedError should happen when the available devices are not able to fulfill the constraints set (e.g. resolution).

-- 
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/20170919/ce5d2a78/attachment.html>


More information about the webkit-unassigned mailing list