From 2dbb3c10e2fa1050a48b18ab0b633cad916f335e Mon Sep 17 00:00:00 2001 From: Robert Pintilii Date: Wed, 11 Jan 2023 11:57:34 +0200 Subject: [PATCH] fix(local-rec) Stop recording properly on size exceeded (#12757) --- .../recording/components/Recording/LocalRecordingManager.web.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/recording/components/Recording/LocalRecordingManager.web.ts b/react/features/recording/components/Recording/LocalRecordingManager.web.ts index 41a0df139..c1d05dc1b 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()); } } });