Steps to reproduce
height properties in
constraints, Edge appears to take hardware defaults to determine these values when fetching video with
getUserMedia() resulting in an inconsistent display.
Tests in Chrome (59), and Firefox (54) with different hardware showed consistent 4:3 aspect by default whereas Edge sometimes showed 4:3 and sometimes 16:9 depending on hardware.
height constraints to fixed values serves as a workaround however a consistent default would be useful.
- Lenovo ThinkPad T460 Core i5-6200U (Win 10) 16:9
- Apple MacBook Pro Early 2015 Retina 13" (Win 10) 4:3
- Lenovo Yoga 3 14 80JH (Win 10) 16:9
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”
Changed Status to “Won’t fix”
Thanks for bring the topic to our attention!
Hardware default will provide consistent user experience on the device when comparing to other apps on the same device. Of course, an browser implementation could pick its own default as well. So, there will always be pros and cons either way the implementation goes. The best practice is to let the developer do the due diligence and configure the getUserMedia explicitly if indeed a specific user experience (e.g. video picture aspect ratio) is expected. Please let us know if you see any issue with the Edge support to the media constraints.
All the Best, Shijun for the Edge Platform Team