From 07a15f0121bbe4744e16c322ea03d7fa8ea2d7d0 Mon Sep 17 00:00:00 2001 From: Mihaela Dumitru Date: Mon, 18 Mar 2024 16:55:09 +0200 Subject: [PATCH] fix(recordings) disable default auto transcribe (#14495) --- react/features/recording/functions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/features/recording/functions.ts b/react/features/recording/functions.ts index 61eeba06520a..e7590830a5eb 100644 --- a/react/features/recording/functions.ts +++ b/react/features/recording/functions.ts @@ -14,7 +14,7 @@ import { registerSound, unregisterSound } from '../base/sounds/actions'; import { isInBreakoutRoom } from '../breakout-rooms/functions'; import { isEnabled as isDropboxEnabled } from '../dropbox/functions'; import { extractFqnFromPath } from '../dynamic-branding/functions.any'; -import { isRecorderTranscriptionsRunning } from '../transcribing/functions'; +import { canAddTranscriber, isRecorderTranscriptionsRunning } from '../transcribing/functions'; import LocalRecordingManager from './components/Recording/LocalRecordingManager'; import { @@ -208,7 +208,7 @@ export function canStopRecording(state: IReduxState) { export function shouldAutoTranscribeOnRecord(state: IReduxState) { const { transcription } = state['features/base/config']; - return transcription?.autoTranscribeOnRecord ?? true; + return (transcription?.autoTranscribeOnRecord ?? true) && canAddTranscriber(state); } /**