Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(local-rec) Reset max size on recording stop (#12815)
Robert Pintiliia5ddcab0845f
diff --git a/react/features/recording/components/Recording/LocalRecordingManager.web.ts b/react/features/recording/components/Recording/LocalRecordingManager.web.tsindex c1d05dc1b2..71a6ac73b1 100644--- a/react/features/recording/components/Recording/LocalRecordingManager.web.ts+++ b/react/features/recording/components/Recording/LocalRecordingManager.web.ts@@ -51,6 +51,7 @@ const getMimeType = (): string => {};const VIDEO_BIT_RATE = 2500000; // 2.5Mbps in bits+const MAX_SIZE = 1073741824; // 1GB in bytes// Lazily initialize.let preferredMediaType: string;@@ -62,7 +63,7 @@ const LocalRecordingManager: ILocalRecordingManager = {audioContext: undefined,audioDestination: undefined,roomName: '',- totalSize: 1073741824, // 1GB in bytes+ totalSize: MAX_SIZE,selfRecording: {on: false,withVideo: false@@ -161,6 +162,7 @@ const LocalRecordingManager: ILocalRecordingManager = {this.recorder = undefined;this.audioContext = undefined;this.audioDestination = undefined;+ this.totalSize = MAX_SIZE;setTimeout(() => this.saveRecording(this.recordingData, this.getFilename()), 1000);}},