Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1144 Discussions

Wrong Aspect Ratio for Local Stream in Chrome

Jesse_P_
Beginner
141 Views

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
Reply