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(recording) set transcribing metadata when stopping

Saúl Ibarra Corretgéa4c52b02e770
diff --git a/react/features/recording/components/Recording/AbstractStopRecordingDialog.ts b/react/features/recording/components/Recording/AbstractStopRecordingDialog.ts
index dc8f029548..22575091a8 100644
--- a/react/features/recording/components/Recording/AbstractStopRecordingDialog.ts
+++ b/react/features/recording/components/Recording/AbstractStopRecordingDialog.ts
@@ -9,6 +9,7 @@ import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
import { setVideoMuted } from '../../../base/media/actions';
import { setRequestingSubtitles } from '../../../subtitles/actions.any';
import { stopLocalVideoRecording } from '../../actions';
+import { RECORDING_METADATA_ID } from '../../constants';
import { getActiveSession } from '../../functions';
import { ISessionData } from '../../reducer';
@@ -93,6 +94,10 @@ export default class AbstractStopRecordingDialog<P extends IProps>
// TODO: this should be an action in transcribing. -saghul
this.props.dispatch(setRequestingSubtitles(false, false, null));
+ this.props._conference?.getMetadataHandler().setMetadata(RECORDING_METADATA_ID, {
+ isTranscribingEnabled: false
+ });
+
return true;
}