diff --git a/packages/record/src/video_config.ts b/packages/record/src/video_config.ts index 4f71da71..a4ae419c 100644 --- a/packages/record/src/video_config.ts +++ b/packages/record/src/video_config.ts @@ -254,6 +254,7 @@ export default class VideoConfigPlugin implements JsPsychPlugin { private destroyRecorder = () => { if (this.recorder) { this.recorder.stopTracks(); + this.recorder.reset(); this.recorder = null; } this.enable_next(false);