Closed Bug 1246348 Opened 9 years ago Closed 8 years ago

getUserMedia offers squeezed 320x240 image from Logitech C920

Categories

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

44 Branch
Unspecified
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1180725

People

(Reporter: bryandonnovan, Assigned: jib)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36 Steps to reproduce: pass video constraint {width:320,height:240} to getUserMedia and select the Logitech C920 USB webcam as the video source Actual results: Camera is initialized in 16x9 mode instead of 4x3 mode, resulting in a squeezed image Expected results: Display the correct aspect ratio, just as Chrome does
Component: Untriaged → Audio/Video: Recording
Product: Firefox → Core
jib: ted has a C920, FYI, in case you need logs or something checked or a fix tested. Ted: It would be interesting to see what mode gets selected for 320x240 (NSPR_LOG_MODULES=getusermedia:4,mediamanager:4,webrtc_trace:65535 WEBRTC_TRACE_FILE=nspr)
Status: UNCONFIRMED → NEW
backlog: --- → webrtc/webaudio+
Rank: 23
Component: Audio/Video: Recording → WebRTC: Audio/Video
Ever confirmed: true
Flags: needinfo?(ted)
Flags: needinfo?(jib)
Priority: -- → P2
Testcase: https://jsfiddle.net/x6n4ny9q/ This works fine with my C920 on Windows, I haven't tried it on OS X yet. (I assume the reporter is experiencing this on OS X given the user agent in comment 0).
Flags: needinfo?(ted)
Attached file nspr.log
Here's an NSPR log with those settings from loading that jsfiddle and choosing my Logitech C920 on my Mac (Running 10.10.5).
Note: getusermedia/mediamanager logs are still missing... however, this is on mac (and the original reporter was too it appears). Mac hides the "real" camera resolution, so we emulate size constraints. jib, can you look?
Rank: 23 → 25
It reproduces on my C910, and seems to be a problem on OSX only, i.e. works fine on Windows. https://jsfiddle.net/9t3szw0L/ This probably has something to do with us flying blind on OSX without bug 1180725. I'll debug to see if there's anything to do in this case.
Assignee: nobody → jib
Flags: needinfo?(jib)
OS: Unspecified → Mac OS X
jib - Can we close this now?
Flags: needinfo?(jib)
Yes, it works for me now.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(jib)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: