fix(recording) start transcription from notification when configured (#14879)

pull/14867/head jitsi-meet_9600
Mihaela Dumitru 11 months ago committed by GitHub
parent b969fba433
commit f9f5cf87b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      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 {

Loading…
Cancel
Save