Skip to content

feat(live-transcription): add occ config value to configure which external app id to use for live transcriptions - #20369

Open
sudormant wants to merge 1 commit into
mainfrom
feat/20296/ConfigurableLiveTranscriptionAppId
Open

sudormant wants to merge 1 commit into
mainfrom
feat/20296/ConfigurableLiveTranscriptionAppId

Conversation

@sudormant

Copy link
Copy Markdown
Contributor
  • partly resolves Allow choosing which ExApp provides live transcription #20296
  • adds a backend occ config option to set the external app id to use for live transcriptions
  • command: occ config:app:set spreed live_transaction_app_id live_transaction_2
  • APIs remain unchanged
  • no frontend admin setting to set / change / test it

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

…ernal app id to use for live transcriptions

Signed-off-by: Christian Lorang <christian.lorang@nextcloud.com>
@sudormant sudormant added this to the ⛅ Next Patch (35) milestone Nov 16, 2026
@sudormant sudormant self-assigned this Nov 16, 2026
@sudormant sudormant added enhancement feature: settings ⚙️ Settings and config related issues feature: api 🛠️ OCS API for conversations, chats and participants labels Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

OpenAPI changes

Breaking changes

None

New Endpoints: None

Deleted Endpoints: None

Modified Endpoints: 2

Show changes
GET /ocs/v2.php/apps/spreed/api/{apiVersion}/live-transcription/languages
- Responses changed
  - Modified response: 400
    - Description changed from 'The external app "live_transcription" is not available' to 'The external app in Config::LIVE_TRANSCRIPTION_APP_ID for live transcription is not available'

GET /ocs/v2.php/apps/spreed/api/{apiVersion}/live-transcription/translation-languages
- Description changed from 'The returned array provides a list of origin languages ("originLanguages") and a list of target languages ("targetLanguages"). Any origin language can be translated to any target language.
The origin language list can contain "detect_language" as a special value indicating auto-detection support.
translations are not supported.' to 'The returned array provides a list of origin languages ("originLanguages") and a list of target languages ("targetLanguages"). Any origin language can be translated to any target language.
The origin language list can contain "detect_language" as a special value indicating auto-detection support.
or translations are not supported.'
- Responses changed
  - Modified response: 400
    - Description changed from 'The external app "live_transcription" is not available or' to 'The external app in Config::LIVE_TRANSCRIPTION_APP_ID for live transcription is not available'

Comment thread lib/ConfigLexicon.php
new Entry(Config::SIGNALING_SERVERS_SECRET, ValueType::STRING, '', definition: 'Shared secret between Nextcloud and the signaling servers, should be configured via the web interface or the OCC commands', flags: IAppConfig::FLAG_SENSITIVE),
occCommands: [SignalingAdd::class, SignalingDelete::class],
),
new AppConfigEntry(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should reload the hash so client/desktop reload when the admin changes it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement feature: api 🛠️ OCS API for conversations, chats and participants feature: settings ⚙️ Settings and config related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow choosing which ExApp provides live transcription

2 participants