[Webkit-unassigned] [Bug 189328] New: MediaTrackConstraints.frameRate doesn't support max, min, exact

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 5 16:40:35 PDT 2018


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

            Bug ID: 189328
           Summary: MediaTrackConstraints.frameRate doesn't support max,
                    min, exact
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ajbeaven at gmail.com
                CC: youennf at gmail.com

Running Safari 11.1.2

When navigator.mediaDevices.getUserMedia is called with `{ video: { frameRate: { max: 30} } }` constraint object, you receive an "Invalid constraint" error. 

The same issue occurs when using min, and exact, however it does work correctly when called with ideal.

Here is a jsFiddle showing it working correctly with ideal: https://jsfiddle.net/aynr0k5q/202/
Here is a jsFiddle showing it failing with min/max/exact: https://jsfiddle.net/aynr0k5q/203/

Both examples above work in Chrome.

-- 
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/20180905/ba7010a4/attachment.html>


More information about the webkit-unassigned mailing list