According to https://bugzilla.mozilla.org/show_bug.cgi?id=907352 Firefox 35
should support video constraints, as of version 32.  e.g.:

getUserMedia({audio:true,video:vidConstraint},gotStream,noStream);

Chrome supports this, but Firefox ignores it:
var vidConstraint = {mandatory:{maxWidth:320,maxHeight:240}};

I've tried this format:
    var vidConstraint = {width:{max:320},height:{max:240}};
and this:
    var vidConstraint = {mandatory:{width:{max:320},height:{max:240}}};

In every case, I get a 640x480 video from Firefox 35.

Can someone explain or direct me to a test page showing how to properly use
the width/height/frameRate constraints added in
https://bugzilla.mozilla.org/show_bug.cgi?id=907352 ?

Thanks
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to