Closed Bug 1198315 Opened 10 years ago Closed 10 years ago

Firefox WebRTC cannot change resolution with media constraints

Categories

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

45 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: danny.perrone93, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 Steps to reproduce: Make a getUserMedia call with media constraints specifying a resolution. Using this demo for example: http://simpl.info/getusermedia/constraints/ Source code here: https://github.com/samdutton/simpl/blob/master/getusermedia/constraints/js/main.js Choose 'QVGA' for qvgaConstraints (320x180) Trying any combination or value for resolutions does not seem to change the value. Actual results: Firefox requests hardware permission. The webpage receives a video stream at the resolution of 640x480 Expected results: Firefox requests hardware permission. The webpage receives a video stream at the resolution of 320x180
Use Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 Build id: 20151125030231 Hi, I have tested this on Windows 7 with Nightly 45.0a1, and I can reproduce the problem.
Status: UNCONFIRMED → NEW
Component: Untriaged → WebRTC: Audio/Video
Ever confirmed: true
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Version: 40 Branch → 45 Branch
mandatory: { maxWidth: .... }} has never been supported by Firefox, and is not compliant with the getUserMedia spec.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
https://jsfiddle.net/9t3szw0L/ is an example for controlling resolution
You need to log in before you can comment on or make changes to this bug.