diff --git a/react/features/transcribing/functions.js b/react/features/transcribing/functions.js index fdbb0e500..e10b29702 100644 --- a/react/features/transcribing/functions.js +++ b/react/features/transcribing/functions.js @@ -15,7 +15,12 @@ const DEFAULT_TRANSCRIBER_LANG = 'en-US'; * @returns {string} */ export function determineTranscriptionLanguage(config: Object) { - const { preferredTranscribeLanguage, transcribeWithAppLanguage = true } = config; + const { preferredTranscribeLanguage, transcribeWithAppLanguage = true, transcribingEnabled } = config; + + // if transcriptions are not enabled nothing to determine + if (!transcribingEnabled) { + return undefined; + } // Depending on the config either use the language that the app automatically detected or the hardcoded // config BCP47 value.