Skip to content

Commit

Permalink
changed facing mode
Browse files Browse the repository at this point in the history
  • Loading branch information
w00000dy committed Mar 3, 2021
1 parent 06f7d42 commit ff250f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mouse
2 changes: 1 addition & 1 deletion video.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var aiEnabled = false;
var fps = 16;

/* Setting up the constraint */
var facingMode = "environment"; // Can be 'user' or 'environment' to access back or front camera (NEAT!)
var facingMode = "user"; // Can be 'user' or 'environment' to access back or front camera (NEAT!)
var constraints = {
audio: false,
video: {
Expand Down

0 comments on commit ff250f9

Please sign in to comment.