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)
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
Comment 1•10 years ago
|
||
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
Comment 2•10 years ago
|
||
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
Comment 3•10 years ago
|
||
https://jsfiddle.net/9t3szw0L/ is an example for controlling resolution
Comment 4•10 years ago
|
||
The demo in comment 0 is old.
See updated demo here: https://webrtc.github.io/samples/src/content/getusermedia/resolution/
Src: https://github.com/webrtc/samples/blob/gh-pages/src/content/getusermedia/resolution/js/main.js
You need to log in
before you can comment on or make changes to this bug.
Description
•