Skip to content

Commit

Permalink
Update events.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielOnGitHub17 authored Apr 18, 2024
1 parent 6df618c commit 3a50be2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions events.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ startbutton.onclick=()=>{
audio: true, video: true,
facingMode: {exact: "user"}
});
// use transform scale(-1) on a container containing the video.
userMedia.then(mediaStream=>{
//setup video recording
stream = mediaStream;
Expand Down

0 comments on commit 3a50be2

Please sign in to comment.