From 8909050f75622d8a1fe8cbf9c34a82dedfc09a3e Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Tue, 22 Oct 2024 13:57:22 -0500 Subject: [PATCH] feat(transcriber): remote config auth parameters (#1951) --- .../defaults/transcriber-sip-communicator.properties | 9 +++++++++ transcriber.yml | 3 +++ 2 files changed, 12 insertions(+) diff --git a/jigasi/rootfs/defaults/transcriber-sip-communicator.properties b/jigasi/rootfs/defaults/transcriber-sip-communicator.properties index a2a339d7e0..9d285515af 100644 --- a/jigasi/rootfs/defaults/transcriber-sip-communicator.properties +++ b/jigasi/rootfs/defaults/transcriber-sip-communicator.properties @@ -38,6 +38,15 @@ org.jitsi.jigasi.transcription.FILTER_SILENCE = true {{ end -}} {{ if .Env.JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL -}} org.jitsi.jigasi.transcription.remoteTranscriptionConfigUrl={{ .Env.JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL }} +{{ if .Env.JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL_KEY_PATH -}} +org.jitsi.jigasi.transcription.remoteTranscriptionConfigUrl.keyPath={{ .Env.JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL_KEY_PATH }} +{{ end -}} +{{ if .Env.JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL_KEY_ID -}} +org.jitsi.jigasi.transcription.remoteTranscriptionConfigUrl.kid={{ .Env.JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL_KEY_ID }} +{{ end -}} +{{ if .Env.JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL_AUD -}} +org.jitsi.jigasi.transcription.remoteTranscriptionConfigUrl.aud={{ .Env.JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL_AUD }} +{{ end -}} {{ end -}} {{ if .Env.JIGASI_TRANSCRIBER_OCI_REGION -}} org.jitsi.jigasi.transcription.oci.websocketUrl=wss://realtime.aiservice.{{ .Env.JIGASI_TRANSCRIBER_OCI_REGION }}.oci.oraclecloud.com diff --git a/transcriber.yml b/transcriber.yml index 58ff6a305b..dea726e1d1 100644 --- a/transcriber.yml +++ b/transcriber.yml @@ -47,6 +47,9 @@ services: - JIGASI_TRANSCRIBER_PASSWORD - JIGASI_TRANSCRIBER_RECORD_AUDIO - JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL + - JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL_KEY_PATH + - JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL_KEY_ID + - JIGASI_TRANSCRIBER_REMOTE_CONFIG_URL_AUD - JIGASI_TRANSCRIBER_SEND_TXT - JIGASI_TRANSCRIBER_USER - JIGASI_TRANSCRIBER_VOSK_URL