Closed Bug 1119852 Opened 9 years ago Closed 9 years ago

Camera width/height constraints ignored on Windows (REGRESSION)

Categories

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

34 Branch
All
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla38
Tracking Status
firefox34 --- wontfix
firefox35 --- wontfix
firefox36 --- verified
firefox37 --- verified
firefox38 --- verified

People

(Reporter: jib, Assigned: gcp)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Attached patch undo_d26db5427e8a.patch (obsolete) — Splinter Review
STR:
1. On a Windows box with an HD webcam (like Logitech C910 or higher)
2. Open URL
3. Hit [Start!] button and share the camera.

Expected result:
- Success: 1280x720

Actual result:
- Success: 640x480

Tests performed:

Windows 7 FF 32.0:  Success: 1280x720 (good)
Windows 7 FF 34.05: Success: 640x480  (bad)

mozregression only got me so far on my Windows setup:
Last good revision: 0aaa2d3d15cc
First bad revision: 111a1da2a95d

The culprit is https://hg.mozilla.org/integration/mozilla-inbound/rev/d26db5427e8a

I've attached a reverse patch of that commit and verified that it fixes this bug on my Windows 7 machine.

Thanks Florin for catching this in Bug 1094539 comment 17! I'll try to work on some automated tests so this doesn't keep breaking every few months. :-/
Ugh, let's see if we can fix the bug in that patch because regressing 929431 renders WebRTC (and by extension Loop) unusable for a lot of people.
Attachment #8546727 - Attachment is obsolete: true
Attachment #8547462 - Flags: review?(rjesup)
Attachment #8547462 - Flags: review?(rjesup) → review+
https://hg.mozilla.org/mozilla-central/rev/1bb2c1c87b4c
Assignee: nobody → gpascutto
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Comment on attachment 8547462 [details] [diff] [review]
fix-requestedcapability

Approval Request Comment
[Feature/regressing bug #]: Bug 929431
[User impact if declined]: WebRTC width/height constraints not taken into account on Windows
[Describe test coverage new/current, TBPL]: None, landed on m-c +- week ago
[Risks and why]: Worst case some cameras with bad drivers will be slower starting a WebRTC session or break completely.
[String/UUID change made/needed]: None
Attachment #8547462 - Flags: approval-mozilla-beta?
Attachment #8547462 - Flags: approval-mozilla-aurora?
Attachment #8547462 - Flags: approval-mozilla-beta?
Attachment #8547462 - Flags: approval-mozilla-beta+
Attachment #8547462 - Flags: approval-mozilla-aurora?
Attachment #8547462 - Flags: approval-mozilla-aurora+
Flags: qe-verify+
Reproduced on Nightly 2015-01-09, Windows 7 x64, with str from comment 0 - Success: 640x480 is displayed.
Verified as fixed on 36.0 beta 3 (Build ID: 20150122214638), Aurora 37.0a2 (Build ID: 20150125004007) and Nightly 38.0a1 (Build ID: 20150125030202) with e10s enabled/disabled.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: