Description
What happened?
Hello team,
Im using you React SDK for my application.
I want to use transcripts via webhook via TRANSCRIPTION_CHUNK_RECEIVED
Initially when speaker start talking I receive the information I want on the default language I have setup.
However a key functionality for my application is changing the language of the speaker.
For that reason, I call in my function for changing the transcription language.
api.current.executeCommand("overwriteConfig", {
transcription: {
enabled: true,
useAppLanguage: false,
preferredLanguage: newLanguage,
},
});
but after that I notice the transcript language is not changed, because you just overwrite redux state
case OVERWRITE_CONFIG:
return {
...state,
...action.config
};
}
without reinitialise the config.
I give you a small chunk of my code, for better understanding.
<JaaSMeeting
....
jwt={token}
....
configOverwrite={{
....
transcription: {
enabled: true,
useAppLanguage: false,
preferredLanguage: locale,
},
....
}}
onApiReady={(externalApi) => {
externalApi.addListener("transcriptionChunkReceived", (event) => {
console.log(
`🌐 Transcription chunk received: ${event}`,
);
});
})
....
/>
FYI, Initially when user is joined in the conference, your application execute this code
logger.info(
Transcriber language set to ${safeBCP47Locale});
but after overwriting the log is not executed, which means language is not updated.
Platform
- Chrome (or Chromium based)
- Firefox
- Safari
- Other desktop browser
- Android browser
- iOS browser
- Electron app
- Android mobile app
- iOS mobile app
- Custom app using a mobile SDK
Browser / app / sdk version
"@jitsi/react-sdk": "^1.4.0",
Relevant log output
2025-06-27T14:42:14.899Z [features/transcribing] Transcriber language set to en-US
2025-06-27T14:42:31.621Z [modules/API/API.js] API command received: overwrite-config
API.js:868 2025-06-27T14:42:31.622Z [modules/API/API.js] <overwrite-config>: Overwriting config with: {"transcription":{"enabled":true,"useAppLanguage":false,"preferredLanguage":"de-DE"}}
Reproducibility
- The problem is reproducible on meet.jit.si
More details?
No response