Updates defaults for min/max aspectRatio

pull/35/head
Lindsey Simon 10 years ago
parent bd2febdf2b
commit 5f13c641bf

@ -74,8 +74,8 @@ define(["html_utils"], function(HtmlUtils) {
videoConstraints = HtmlUtils.mergeObjects({
width: 640,
height: 480,
minAspectRatio: 1,
maxAspectRatio: 1,
minAspectRatio: 0,
maxAspectRatio: 100,
facing: "environment"
}, config);

@ -9,8 +9,8 @@ define(function(){
constraints: {
width: 640,
height: 480,
minAspectRatio: 1,
maxAspectRatio: 1,
minAspectRatio: 0,
maxAspectRatio: 100,
facing: "environment" // or user
}
},

Loading…
Cancel
Save