Skip to content

Commit

Permalink
Update PeriodicFaceDetection.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chenditc authored Jun 25, 2024
1 parent 8562d78 commit c9a4f16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/PeriodicChecks/PeriodicFaceDetection.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ function PeriodicFaceDetection(props) {
const videoConstraints = {
width: { ideal: 640 },
height: { ideal: 480 },
facingMode: "user",
}
// Save bandwidth by reducing framerate
if (navigator.mediaDevices.getSupportedConstraints) {
Expand Down Expand Up @@ -237,4 +236,4 @@ function PeriodicFaceDetection(props) {
)
}

export default PeriodicFaceDetection
export default PeriodicFaceDetection

0 comments on commit c9a4f16

Please sign in to comment.