Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,21 @@ TZ=UTC
#JIGASI_SIP_TRANSPORT=UDP


#
# Transcription configuration
#

# Enable transcription (requires Jigasi)
#ENABLE_TRANSCRIPTIONS=0

# Custom transcription languages in JSON format
# Allows extending the list of supported transcription languages for custom speech recognition systems
# Example format: {"language-code": "Language Name"}
# For use with Vosk or other custom speech recognition engines
# Example: TRANSCRIPTION_CUSTOM_LANGUAGES={"hi":"Hindi","ta":"Tamil","bn":"Bengali"}
#TRANSCRIPTION_CUSTOM_LANGUAGES=


#
# Authentication configuration (see handbook for details)
#
Expand Down
4 changes: 4 additions & 0 deletions web/rootfs/defaults/settings-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
{{ $PREFERRED_LANGUAGE := .Env.PREFERRED_LANGUAGE | default "en-US" -}}
{{ $DISABLE_START_FOR_ALL := .Env.DISABLE_START_FOR_ALL | default "false" | toBool -}}
{{ $AUTO_CAPTION_ON_RECORD := .Env.AUTO_CAPTION_ON_RECORD | default "false" | toBool -}}
{{ $TRANSCRIPTION_CUSTOM_LANGUAGES := .Env.TRANSCRIPTION_CUSTOM_LANGUAGES | default "" -}}
{{ $ENABLE_JAAS_COMPONENTS := .Env.ENABLE_JAAS_COMPONENTS | default "0" | toBool }}
{{ $HIDE_PREJOIN_DISPLAY_NAME := .Env.HIDE_PREJOIN_DISPLAY_NAME | default "false" | toBool -}}
{{ $PUBLIC_URL := .Env.PUBLIC_URL | default "https://localhost:8443" -}}
Expand Down Expand Up @@ -364,6 +365,9 @@ config.transcription = {
preferredLanguage: '{{ $PREFERRED_LANGUAGE }}',
disableStartForAll: {{ $DISABLE_START_FOR_ALL }},
autoCaptionOnRecord: {{ $AUTO_CAPTION_ON_RECORD }},
{{ if $TRANSCRIPTION_CUSTOM_LANGUAGES -}}
customLanguages: {{ $TRANSCRIPTION_CUSTOM_LANGUAGES }},
{{ end -}}
};

// Dynamic branding
Expand Down