On 6/17/2015 10:36 PM, Andreas Pehrson wrote:
I'm guessing this happens because in the default case
generateMediaConstraints() returns {video:true,audio:true} but when you're
fiddling with resolution and frame rate you're omitting the audio property.

If you want audio always, do "constraints = generateMediaConstraints(); constraints.audio = true;" (basically). Though in this case it's really generateVideoConstraint()...

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

Reply via email to