mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Added tests for video-access
This commit is contained in:
@@ -84,7 +84,7 @@ function applyCameraFacing(facing, constraints) {
|
||||
});
|
||||
});
|
||||
}
|
||||
return Promise.resolve(merge({}, videoConstraints, {facingMode: facing}));
|
||||
return Promise.resolve(merge({}, constraints, {video: {facingMode: facing}}));
|
||||
}
|
||||
|
||||
function pickConstraints(videoConstraints) {
|
||||
|
||||
Reference in New Issue
Block a user