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: Handling inviteJigasiOnBackendTranscribing. (#16113)

bgrozev06713a4ffa97
diff --git a/react/features/subtitles/middleware.ts b/react/features/subtitles/middleware.ts
index 3004247602..f571913904 100644
--- a/react/features/subtitles/middleware.ts
+++ b/react/features/subtitles/middleware.ts
@@ -351,7 +351,7 @@ function _requestingSubtitlesChange(
const featureAllowed = isJwtFeatureEnabled(getState(), MEET_FEATURES.TRANSCRIPTION, false);
// the default value for inviteJigasiOnBackendTranscribing is true (when undefined)
- if (featureAllowed && (!backendRecordingOn || transcription?.inviteJigasiOnBackendTranscribing === false)) {
+ if (featureAllowed && (!backendRecordingOn || (transcription?.inviteJigasiOnBackendTranscribing ?? true))) {
conference?.dial(TRANSCRIBER_DIAL_NUMBER)
.catch((e: any) => {
logger.error('Error dialing', e);