diff --git a/src/App.tsx b/src/App.tsx index b777d94..e8cafbe 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -20,7 +20,7 @@ export default function App(){ } function changeVideoConstraints(){ - setVideoConstraints({height:720, width:screen.width, facingMode:"environment"}) + setVideoConstraints({height:720, width:screen.width, facingMode:"user"}) } useEffect(()=>{