Skip to content

Commit

Permalink
change replay fps
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyangXYZ committed Sep 23, 2024
1 parent e6d22d8 commit 6525da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function Video({

const replayCallback = () => {
let currentIndex = 0
const frameInterval = 1000 / 24 // 24 FPS
const frameInterval = 1000 / 60 // 60 FPS

const playNextFrame = () => {
if (currentIndex < landmarkHistoryRef.current.length) {
Expand Down

0 comments on commit 6525da3

Please sign in to comment.