Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Aug 17, 2024
1 parent 5512242 commit 4fd6aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const FPS = 60
const MIME_TYPES = ['audio/webm', 'audio/wav', 'audio/mpeg', 'audio/mp4', 'audio/mp3']
const findSupportedMimeType = () => MIME_TYPES.find((mimeType) => MediaRecorder.isTypeSupported(mimeType))

const requestFrameTimeout = (callback: Function) => {
const requestFrameTimeout = (callback: () => void) => {
return setTimeout(callback, 1000 / FPS)
}

Expand Down

0 comments on commit 4fd6aaa

Please sign in to comment.