[jitsi-dev] Low webcam resolutions selected by default on Google Chrome and Firefox


#1

It seems that on Jitsi Meet Google Chrome always selects 640x360 resolution
for desktop webcams even if they support higher resolutions. I tried this
with webcams supporting 1280x720, 1920x1080, 1024x768 resolutions. Google
Chrome always selected 640x360.

In Firefox 43 with default settings the resolution was 640x480, although i
could force other supported resolutions through setting explicit width and
height in the (about:config) settings "media.navigator.video.default_width"
and "media.navigator.video.default_height".

OS: Debian Stable and Testing, Google Chrome 47.0.2526.111, Firefox 43.04


#2

That is the default behavior if you haven’t set config.resolution. See the code in RTCUtils<https://github.com/jitsi/jitsi-meet/blob/75a822be6622342cd96c156a4395682aeb03efe0/modules/RTC/RTCUtils.js#L415>. It will try to get whatever resolution you set (defaults to 640x360) and if that fails, it will continue down the list of resolutions<https://github.com/jitsi/jitsi-meet/blob/75a822be6622342cd96c156a4395682aeb03efe0/service/RTC/Resolutions.js>.

Devin

···

From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Laszlo KERTESZ
Sent: Monday, January 18, 2016 9:20 AM
To: dev@jitsi.org
Subject: [jitsi-dev] Low webcam resolutions selected by default on Google Chrome and Firefox

It seems that on Jitsi Meet Google Chrome always selects 640x360 resolution for desktop webcams even if they support higher resolutions. I tried this with webcams supporting 1280x720, 1920x1080, 1024x768 resolutions. Google Chrome always selected 640x360.

In Firefox 43 with default settings the resolution was 640x480, although i could force other supported resolutions through setting explicit width and height in the (about:config) settings "media.navigator.video.default_width" and "media.navigator.video.default_height".

OS: Debian Stable and Testing, Google Chrome 47.0.2526.111, Firefox 43.04

This email message is for the sole use of the intended recipient(s) and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, copying, disclosure or dissemination is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.