Updates defaults for min/max aspectRatio

This commit is contained in:
Lindsey Simon
2015-05-11 11:32:49 -07:00
parent bd2febdf2b
commit 5f13c641bf
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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);
+2 -2
View File
@@ -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
} }
}, },