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({ videoConstraints = HtmlUtils.mergeObjects({
width: 640, width: 640,
height: 480, height: 480,
minAspectRatio: 1, minAspectRatio: 0,
maxAspectRatio: 1, maxAspectRatio: 100,
facing: "environment" facing: "environment"
}, config); }, config);

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

Loading…
Cancel
Save