Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(local-rec) Stop recording properly on size exceeded (#12757)

Robert Pintilii2dbb3c10e2fa
diff --git a/react/features/recording/components/Recording/LocalRecordingManager.web.ts b/react/features/recording/components/Recording/LocalRecordingManager.web.ts
index 41a0df139c..c1d05dc1b2 100644
--- a/react/features/recording/components/Recording/LocalRecordingManager.web.ts
+++ b/react/features/recording/components/Recording/LocalRecordingManager.web.ts
@@ -278,7 +278,7 @@ const LocalRecordingManager: ILocalRecordingManager = {
this.recordingData.push(e.data);
this.totalSize -= e.data.size;
if (this.totalSize <= 0) {
- this.stopLocalRecording();
+ dispatch(stopLocalVideoRecording());
}
}
});