From 3a50be29673bc2fe9e1f5d1a60d0e265bcacd917 Mon Sep 17 00:00:00 2001 From: Daniel Enesi <137162024+DanielOnGitHub17@users.noreply.github.com> Date: Thu, 18 Apr 2024 04:11:13 -0500 Subject: [PATCH] Update events.js --- events.js | 1 + 1 file changed, 1 insertion(+) diff --git a/events.js b/events.js index 4eb2444..0914301 100644 --- a/events.js +++ b/events.js @@ -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;