Skip to content

Commit

Permalink
feat(transcriber): remote config auth parameters (#1951)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkvanmeerten authored Oct 22, 2024
1 parent bb17a29 commit 8909050
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions transcriber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8909050

Please sign in to comment.