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) fix default value to auto-transcribe-on-record

Saúl Ibarra Corretgé6207e95cad9c
diff --git a/react/features/recording/actions.any.ts b/react/features/recording/actions.any.ts
index 26c4c7cc8c..3a92c55dfa 100644
--- a/react/features/recording/actions.any.ts
+++ b/react/features/recording/actions.any.ts
@@ -432,7 +432,7 @@ export function showStartRecordingNotificationWithCallback(openRecordingDialog:
});
if (autoTranscribeOnRecord) {
- dispatch(setRequestingSubtitles(true, false));
+ dispatch(setRequestingSubtitles(true, false, null));
}
} else {
openRecordingDialog();
diff --git a/react/features/recording/components/Recording/AbstractStartRecordingDialog.ts b/react/features/recording/components/Recording/AbstractStartRecordingDialog.ts
index b97c8a8ddc..d944228d48 100644
--- a/react/features/recording/components/Recording/AbstractStartRecordingDialog.ts
+++ b/react/features/recording/components/Recording/AbstractStartRecordingDialog.ts
@@ -178,7 +178,7 @@ class AbstractStartRecordingDialog extends Component<IProps, IState> {
userName: undefined,
sharingEnabled: true,
shouldRecordAudioAndVideo: true,
- shouldRecordTranscription: true,
+ shouldRecordTranscription: this.props._autoTranscribeOnRecord,
spaceLeft: undefined,
selectedRecordingService,
localRecordingOnlySelf: false
@@ -335,7 +335,6 @@ class AbstractStartRecordingDialog extends Component<IProps, IState> {
_onSubmit() {
const {
_appKey,
- _autoTranscribeOnRecord,
_conference,
_isDropboxEnabled,
_rToken,
@@ -398,8 +397,8 @@ class AbstractStartRecordingDialog extends Component<IProps, IState> {
});
}
- if (_autoTranscribeOnRecord || this.state.shouldRecordTranscription) {
- dispatch(setRequestingSubtitles(true, false));
+ if (this.state.shouldRecordTranscription) {
+ dispatch(setRequestingSubtitles(true, false, null));
}
return true;