fix(local-rec) Stop recording properly on size exceeded (#12757)
This commit is contained in:
parent
265d8c4b29
commit
2dbb3c10e2
|
@ -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());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue