NEW 189328
MediaTrackConstraints.frameRate doesn't support max, min, exact
https://bugs.webkit.org/show_bug.cgi?id=189328
Summary MediaTrackConstraints.frameRate doesn't support max, min, exact
ajbeaven
Reported 2018-09-05 16:40:35 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2018-09-05 16:48:24 PDT
ajbeaven
Comment 2 2018-09-05 16:51:11 PDT
Note, if you include ideal as well as max, it works correctly.
Note You need to log in before you can comment on or make changes to this bug.