mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Updated to 0.11.5
This commit is contained in:
+3791
-3046
File diff suppressed because one or more lines are too long
Vendored
+4
-3
File diff suppressed because one or more lines are too long
@@ -69,8 +69,8 @@ $(function() {
|
||||
constraints: function(value){
|
||||
var values = value.split('x');
|
||||
return {
|
||||
width: parseInt(values[0]),
|
||||
height: parseInt(values[1])
|
||||
width: {min: parseInt(values[0])},
|
||||
height: {min: parseInt(values[1])}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -100,8 +100,9 @@ $(function() {
|
||||
inputStream: {
|
||||
type : "LiveStream",
|
||||
constraints: {
|
||||
width: 640,
|
||||
height: 480,
|
||||
width: {min: 640},
|
||||
height: {min: 480},
|
||||
aspectRatio: {min: 1, max: 100},
|
||||
facingMode: "environment" // or user
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user