()
| 300 | video.playbackRate = selectedSpeed; |
| 301 | |
| 302 | const finishProcessing = () => { |
| 303 | if (recorder.state === "recording") { |
| 304 | recorder.stop(); |
| 305 | } |
| 306 | setProgress(100); |
| 307 | cancelAnimationFrame(animationFrameId); |
| 308 | }; |
| 309 | |
| 310 | const totalDuration = video.duration / selectedSpeed; |
| 311 | let lastProgress = 0; |
no test coverage detected