Hi Bryan,

Sorry for the late reply. Glad you figured it out!

I wanted to let you know that Firefox 38 (Developer Edition) finally implements the constraints syntax to spec.

The "require" syntax is deprecated syntax from a year ago, and is still needed in Firefox 37 and earlier unfortunately.

See this answer for more details:

http://stackoverflow.com/questions/28282385/webrtc-firefox-constraint/28911694#28911694

See bug https://bugzil.la/1131861 on frameRate.

..: Jan-Ivar :.

On 1/28/15 4:29 PM, [email protected] wrote:
I learned that the following works for capture dimensions, although I
cannot find it documented anywhere.

vidConstraint =
{require:["width","height"],width:{max:320},height:{max:240}};

Even using this format, the frameRate constraint has no effect.

Please advise.

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

Reply via email to