From c267ce0424b50af59e2e3f92f381a1031d70f845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 19 Mar 2024 16:03:01 +0100 Subject: [PATCH] Update configuration.md --- docs/dev-guide/configuration.md | 62 +++++++++++++-------------------- 1 file changed, 25 insertions(+), 37 deletions(-) diff --git a/docs/dev-guide/configuration.md b/docs/dev-guide/configuration.md index 9a522a642..13f21fa0d 100644 --- a/docs/dev-guide/configuration.md +++ b/docs/dev-guide/configuration.md @@ -524,58 +524,46 @@ The default value is 100%. If set to 0, no automatic feedback will be requested feedbackPercentage: 100 ``` -## Closed captions +## Transcriptions -### autoCaptionOnRecord* +### autoCaptionOnRecord -type: `Boolean` +__DEPRECATED__ Use `transcription.autoTranscribeOnRecord` instead. -Enables turning captions on automatically when the recording starts +### preferredTranscribingLanguage -Default: `false` +__DEPRECATED__ Use `transcription.preferredLanguage` instead. -```javascript -autoCaptionOnRecord: false -``` - -### preferredTranscribingLanguage 🚫 - -type: `Boolean` +### transcribeWithAppLanguage -Transcriber language. This settings will only work if `transcribeWithAppLanguage` is explicitly set to `false`. -Available languages can be found [here](https://github.com/jitsi/jitsi-meet/blob/master/react/features/transcribing/transcriber-langs.json). +__DEPRECATED__ Use `transcription.useAppLanguage` instead. -Default: `'en-US'` - -```javascript -preferredTranscribeLanguage: 'en-CA' -``` - -### transcribeWithAppLanguage 🚫 - -type: `Boolean` - -If `true` the transcriber will use the application language. -The application language is either explicitly set by participants in their settings or automatically -detected based on the environment, e.g. if the app is opened in a chrome instance which is using french as its -default language then transcriptions for that participant will be in french. +### transcribingEnabled -Default: `true` +__DEPRECATED__ Use `transcription.enabled` instead. -```javascript -transcribeWithAppLanguage: false -``` +### transcription -### transcribingEnabled +type: `Object` -type: `Boolean` +Transcription related options. -Enable transcription (in interface_config, subtitles and buttons can be configured). +Properties: -Default: `false` +* `enabled` - Enable transcription (in interface_config, subtitles and buttons can be configured). Default `false`. +* `translationLanguages` - Translation languages. Available languages can be found in ./src/react/features/transcribing/translation-languages.json. +* `useAppLanguage` - If `true` the transcriber will use the application language. The application language is either explicitly set by participants in their settings or automatically detected based on the environment, e.g. if the app is opened in a Chrome instance which is using French as its default language then transcriptions for that participant will be in french. Default: `true`. +* `preferredLanguage` - Transcriber language. This settings will only work if `useAppLanguage` is explicitly set to `false`. Available languages can be found [here](https://github.com/jitsi/jitsi-meet/blob/master/react/features/transcribing/transcriber-langs.json). Default: `'en-US'`. +* `autoTranscribeOnRecord` - Enables automatic turning on transcribing when recording is started. Default: `true`. ```javascript -transcribingEnabled: true +transcription: { + enabled: true, + translationLanguages: ['en-US', 'es'], + useAppLanguage: false, + preferredLanguage: 'en-US', + autoTranscribeOnRecord: true +} ``` ## Connection