Inconsistent default resolution with getUserMedia camera

Won’t fix Issue #12917208


Chris L.
Jul 25, 2017
This issue is public.
Found in
  • Microsoft Edge
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Without setting width and 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.

Setting width and height constraints to fixed values serves as a workaround however a consistent default would be useful.

Test machines:

  • 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


0 attachments

    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

    You need to sign in to your Microsoft account to add a comment.

    Sign in