[Webkit-unassigned] [Bug 176349] New: getUserMedia fails with OverconstrainedError for { video: { width: 320 } }

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 4 22:38:15 PDT 2017


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

            Bug ID: 176349
           Summary: getUserMedia fails with OverconstrainedError for {
                    video: { width: 320 } }
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andrew at tokbox.com
                CC: youennf at gmail.com

This constraint:

{ video: { width: 320 } }

Should be interpreted as width is ideally 320, it doesn't have to be exact. But Safari says this is overconstrained even though it can do e.g. 640x480 which would satisfy it. In fact being explicit about ideal fails in the same way:

{ video: { width: { ideal: 320 } } }

Tested on Sierra + Safari Beta, Sierra + Safari Tech Preview 38, and iOS beta 9 + Safari.

-- 
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/20170905/980acf59/attachment.html>


More information about the webkit-unassigned mailing list