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(recording) only show advanced section for cloud recordings
Saúl Ibarra Corretgébbc9c6497852
diff --git a/react/features/recording/components/Recording/AbstractStartRecordingDialog.ts b/react/features/recording/components/Recording/AbstractStartRecordingDialog.tsindex 7d49c5c27e..f5a3c35694 100644--- a/react/features/recording/components/Recording/AbstractStartRecordingDialog.ts+++ b/react/features/recording/components/Recording/AbstractStartRecordingDialog.ts@@ -397,7 +397,8 @@ class AbstractStartRecordingDialog extends Component<IProps, IState> {});}- if (this.state.shouldRecordTranscription) {+ if (this.state.selectedRecordingService === RECORDING_TYPES.JITSI_REC_SERVICE+ && this.state.shouldRecordTranscription) {dispatch(setRequestingSubtitles(true, false, null));}diff --git a/react/features/recording/components/Recording/native/StartRecordingDialogContent.tsx b/react/features/recording/components/Recording/native/StartRecordingDialogContent.tsxindex 2c5a459993..089afdbe74 100644--- a/react/features/recording/components/Recording/native/StartRecordingDialogContent.tsx+++ b/react/features/recording/components/Recording/native/StartRecordingDialogContent.tsx@@ -51,7 +51,9 @@ class StartRecordingDialogContent extends AbstractStartRecordingDialogContent {* @returns {React$Component}*/_renderAdvancedOptions() {- if (!this._canStartTranscribing()) {+ const { selectedRecordingService } = this.props;++ if (selectedRecordingService !== RECORDING_TYPES.JITSI_REC_SERVICE || !this._canStartTranscribing()) {return null;}diff --git a/react/features/recording/components/Recording/web/StartRecordingDialogContent.tsx b/react/features/recording/components/Recording/web/StartRecordingDialogContent.tsxindex a118fe70f5..5534803f7c 100644--- a/react/features/recording/components/Recording/web/StartRecordingDialogContent.tsx+++ b/react/features/recording/components/Recording/web/StartRecordingDialogContent.tsx@@ -59,7 +59,9 @@ class StartRecordingDialogContent extends AbstractStartRecordingDialogContent {* @returns {React$Component}*/_renderAdvancedOptions() {- if (!this._canStartTranscribing()) {+ const { selectedRecordingService } = this.props;++ if (selectedRecordingService !== RECORDING_TYPES.JITSI_REC_SERVICE || !this._canStartTranscribing()) {return null;}