[Webkit-unassigned] [Bug 179994] can not control framerate & resolution using getusermedia

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 26 09:36:08 PST 2019


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

mkaisercross at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mkaisercross at gmail.com

--- Comment #4 from mkaisercross at gmail.com ---
I am also encountering this on Desktop Safari 12.0 (14606.1.36.1.9). I am requesting 1080p video and it simply returns

OverconstrainedError {message: "Invalid constraint", constraint: ""}  


I have tried a couple different constraints objects (shown below) but they all produce the same error. Only if I lower the min width to 720 and the min height to 140

{
    video: {
        width: 1920,
        height: 1080
    }
}

{
    video: {
        width: {min:1080},
        height: {min:1920}
    }
}

If I use the constraints below I can open a 720p feed.

{
    video: {
        width: 720,
        height: 1280
    }
}

{
    video: {
        width: {min:720},
        height: {min:1280}
    }
}


Our intended use case is document authentication and OCR so we need highest resolutions possible on both desktop and mobile browsers. Ideally we would like to be getting in the 600 DPI which would require 4k resolution but 300 DPI is also usable for us which requires 1080p resolution. Is there a reason why the browsers don't simply allow whatever the camera supports? Is it a performance issue? We are testing on a Logitech C920 btw. Also we are having the same 720p limitation in Firefox but Chrome has no issue with 1080p.

-- 
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/20190226/74a6a4de/attachment.html>


More information about the webkit-unassigned mailing list