Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
1136 Discussions

Wrong Aspect Ratio for Local Stream in Chrome


I have a 720p camera and I am requesting a resolution of "hd720p" when creating a local stream using LocalStream.create. When I run this in Chrome I am getting a 4:3 aspect ratio instead of 16:9. I get the correct aspect ratio when using Firefox.

I am testing with v3.3 of the JS SDK, in Windows 7, with Chrome 58.

It looks like Chrome is not honouring the video constraints and is providing a stream that is 960 x 720 rather than 1280 x 720. Is there any way to work around this to get the correct aspect ratio? 


0 Kudos
0 Replies