diff --git a/src/components/AdminSettings/RecordingServers.vue b/src/components/AdminSettings/RecordingServers.vue
index f5d7b8d1e7b..364169dfa14 100644
--- a/src/components/AdminSettings/RecordingServers.vue
+++ b/src/components/AdminSettings/RecordingServers.vue
@@ -72,6 +72,26 @@
+
+
+ {{ t('spreed', 'Recording transcription') }}
+
+
+
+ {{ t('spreed', 'Automatically transcribe call recordings with a transcription provider') }}
+
+
+
+ {{ t('spreed', 'Automatically summarize call recordings with transcription and summary providers') }}
+
+
@@ -134,6 +154,8 @@ export default {
saved: false,
showForm: true,
recordingConsentSelected: loadState('spreed', 'recording_consent').toString(),
+ recordingTranscriptionEnabled: loadState('spreed', 'call_recording_transcription'),
+ recordingSummaryEnabled: loadState('spreed', 'call_recording_summary'),
debounceUpdateServers: () => {},
}
},
@@ -212,6 +234,24 @@ export default {
})
},
+ setRecordingTranscription(value) {
+ this.loading = true
+ OCP.AppConfig.setValue('spreed', 'call_recording_transcription', value ? 'yes' : 'no', {
+ success: () => {
+ this.loading = false
+ },
+ })
+ },
+
+ setRecordingSummary(value) {
+ this.loading = true
+ OCP.AppConfig.setValue('spreed', 'call_recording_summary', value ? 'yes' : 'no', {
+ success: () => {
+ this.loading = false
+ },
+ })
+ },
+
getRecordingConsentDescription(value) {
switch (value) {
case CONFIG.RECORDING_CONSENT.OPTIONAL: