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) start transcription from notification when configured (#14879)

Mihaela Dumitruf9f5cf87b938
diff --git a/react/features/recording/actions.any.ts b/react/features/recording/actions.any.ts
index b3a8980ea3..bede897057 100644
--- a/react/features/recording/actions.any.ts
+++ b/react/features/recording/actions.any.ts
@@ -32,7 +32,10 @@ import {
START_LOCAL_RECORDING,
STOP_LOCAL_RECORDING
} from './actionTypes';
-import { START_RECORDING_NOTIFICATION_ID } from './constants';
+import {
+ RECORDING_METADATA_ID,
+ START_RECORDING_NOTIFICATION_ID
+} from './constants';
import {
getRecordButtonProps,
getRecordingLink,
@@ -451,6 +454,9 @@ export function showStartRecordingNotificationWithCallback(openRecordingDialog:
});
if (autoTranscribeOnRecord) {
+ conference?.getMetadataHandler().setMetadata(RECORDING_METADATA_ID, {
+ isTranscribingEnabled: true
+ });
dispatch(setRequestingSubtitles(true, false, null));
}
} else {