getUserMedia request with 1080p (Full HD) returns 720p (HD) at best
Categories
(Core :: WebRTC: Audio/Video, defect, P3)
Tracking
()
People
(Reporter: github, Unassigned)
References
()
Details
(Keywords: parity-chrome)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
Steps to reproduce:
- Setup OBS to output video with 1920x1080 resolution and start OBS Virtual Cam or use any device capable to output Full HD
- Open https://jsfiddle.net/ArmorDarks/e2rzuygL/81/ which uses
getUserMedia
to request video with 1080p as aheight
constrain - Select OBS Virtual Cam or your Full HD capable device
- Check the log above video - the video track will be of HD resolution even if Full HD was specified in constraints.
- Check the
strict
checkbox. That will addexact
value to the height of constraint to try force Full HD. - That will result in
OverconstrainedError
complaining aboutheight
though OBS virtual cam capable of outputting Full HD.
Actual results:
Video track settings are always of HD resolution at best, and if strict
1920x1080 is specified, it always results in OverconstrainedError even though the device clearly supports Full HD.
Expected results:
Video track should be in Full HD if the device supports that resolution.
That issue is present in Firefox, but not in Chrome
Updated•3 years ago
|
Comment 2•3 years ago
|
||
Thanks for the report Sergii. Are you experiencing this symptom on Mac or Windows? Or both?
What error message do you see if you run https://jsfiddle.net/jib1/9u0r6Lab/show ?
With my Logitech BRIO,
- when I run this fiddle on Windows, it works fine (I get 1920 x 1080).
- when I run this fiddle on macOS, I get
AbortError: Starting videoinput failed
, even though it works in Chrome.
Comment 3•3 years ago
|
||
(In reply to Jan-Ivar Bruaroey [:jib] (needinfo? me) from comment #2)
- when I run this fiddle on macOS, I get
AbortError: Starting videoinput failed
, even though it works in Chrome.
Update on mac: I couldn't find a regression range for that error, and after I restarted my Nightly (it updated) I could no longer reproduce it. Now I get OverconstrainedError: Constraints could be not satisfied.
instead, and ahead of the prompt.
Reporter | ||
Comment 4•3 years ago
|
||
Works fine on Windows and properly produces Full HD, but doesn't on Mac (both Catalina and Big Sur)
The error message was specified in my original post: OverconstrainedError: Constraints could be not satisfied. (constraint: height)
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•