Open Bug 1179716 Opened 6 years ago Updated 4 years ago

Ideal resolution not always selected for some constraints with some webcams

Categories

(Core :: WebRTC: Audio/Video, defect, P3)

defect

Tracking

()

Tracking Status
firefox39 --- affected
firefox42 --- affected
Blocking Flags:

People

(Reporter: FlorinMezei, Unassigned)

References

()

Details

This is a followup from bug 1119335 - the main issue in this bug is that resolutions are selected incorrectly for Logitech Quickcam Fusion on Ubuntu. Also there may be some more minor issues on Windows. See details below, and in bug 1119335 (some logs were also attached to bug 1119335)

Steps to reproduce:
1. Open Firefox and go to http://jsfiddle.net/dne7q71j.
2. Click the Start button and share the camera available.

Expected results: Ideal resolution should be picked.

Actual results: Ideal resolution is not always picked. The main issue is camera Logitech Quickcam Fusion on Ubuntu, where the selected resolutions seem to be totally off.
 
Builds tested:
- Firefox 39 RC build 6 – BuildID=20150630154324
- latest Firefox 42 Nightly – BuildID=20150701030207

Operating Systems: Win 7 x64, Mac OS X 10.9.5, Ubuntu 14.04 x64 
 
Webcams:

Logitech Quickcam Fusion
                               Win       Ubuntu
{width:160,height:120}   =>  160x120 || 1024x576
{width:320,height:180}   =>  320x240 || 1024x576
{width:320,height:240}   =>  320x240 || 1024x576
{width:640,height:360}   =>  640x360 || 1024x576
{width:640,height:480}   =>  640x480 || 1024x576
{width:800,height:600}   =>  704x576 ||  704x576
{width:1024,height:576}  => 1024x576 ||  960x720 
{width:1024,height:768}  =>  960x720 ||  960x720 
{width:1200,height:700}  =>  960x720 ||  960x720 
{width:1280,height:960}  => 1280x960 ||  960x720 
{width:1920,height:1080} => 1280x960 ||  960x720 
 
Microsoft Lifecam HD 3000
                               Win       Ubuntu       Mac
{width:160,height:120}   =>  160x120 ||  160x120 ||  160x120
{width:320,height:180}   =>  320x240 ||  320x240 ||  320x240
{width:320,height:240}   =>  320x240 ||  320x240 ||  320x240
{width:640,height:360}   =>  640x360 ||  640x480 ||  640x480
{width:640,height:480}   =>  640x480 ||  640x480 ||  640x480
{width:800,height:600}   =>  800x600 ||  800x600 || 1024x576
{width:1024,height:576}  => 1024x576 ||  800x600 || 1024x576
{width:1024,height:768}  =>  960x720 || 1280x720 || 1024x576
{width:1200,height:700}  => 1280x720 || 1280x720 || 1280x720
{width:1280,height:960}  => 1280x960 || 1280x720 || 1280x720
{width:1920,height:1080} => 1280x960 || 1280x720 || 1920x1080
 
Main issue:

1. Logitech Quickcam Fusion seems to get all incorrect resolutions on Ubuntu 
- for small resolutions we get 1024x576 (Expected: similar selection to Windows/Mac/other webcams)
- for 1024x576 we get 704x576 (Expected: 1024x576 as it's clearly supported)
- for high resolutions we get 960x720 (Expected: 1024x576 as that seems like the maximum on Ubuntu for this camera)
Other webcams like Logitech C920 and Microsoft Lifecam HD 3000 work fine on Linux.

Other potential issues:

2. Windows seems to sometimes prefer 960x720 over 1024x576 (see for both webcams resolution selected for {width:1024,height:768}) - is this expected?
3. Windows seems to support only 1280x960 max for a 1920x1080 camera (see Microsoft Lifecam HD 3000 on Windows and Mac) - could this be because of the Windows drivers?
backlog: --- → webRTC+
Rank: 27
Priority: -- → P2
Mass change P2->P3 to align with new Mozilla triage process.
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.