Updated Jitsi version to latest stable version #1
1 changed files with 133 additions and 40 deletions
|
@ -1,9 +1,10 @@
|
||||||
|
//https://github.com/jitsi/docker-jitsi-meet/blob/master/web/rootfs/defaults/settings-config.js
|
||||||
|
|
||||||
{{ $DEPLOYMENTINFO_USERREGION := .Env.DEPLOYMENTINFO_USERREGION | default "" -}}
|
{{ $DEPLOYMENTINFO_USERREGION := .Env.DEPLOYMENTINFO_USERREGION | default "" -}}
|
||||||
{{ $ENABLE_AUDIO_PROCESSING := .Env.ENABLE_AUDIO_PROCESSING | default "true" | toBool -}}
|
{{ $ENABLE_AUDIO_PROCESSING := .Env.ENABLE_AUDIO_PROCESSING | default "true" | toBool -}}
|
||||||
{{ $ENABLE_BREAKOUT_ROOMS := .Env.ENABLE_BREAKOUT_ROOMS | default "true" | toBool -}}
|
{{ $ENABLE_BREAKOUT_ROOMS := .Env.ENABLE_BREAKOUT_ROOMS | default "true" | toBool -}}
|
||||||
{{ $ENABLE_CALENDAR := .Env.ENABLE_CALENDAR | default "false" | toBool -}}
|
{{ $ENABLE_CALENDAR := .Env.ENABLE_CALENDAR | default "false" | toBool -}}
|
||||||
{{ $ENABLE_FILE_RECORDING_SERVICE := .Env.ENABLE_FILE_RECORDING_SERVICE | default "false" | toBool -}}
|
{{ $ENABLE_FILE_RECORDING_SHARING := .Env.ENABLE_FILE_RECORDING_SHARING | default "false" | toBool -}}
|
||||||
{{ $ENABLE_FILE_RECORDING_SERVICE_SHARING := .Env.ENABLE_FILE_RECORDING_SERVICE_SHARING | default "false" | toBool -}}
|
|
||||||
{{ $ENABLE_IPV6 := .Env.ENABLE_IPV6 | default "true" | toBool -}}
|
{{ $ENABLE_IPV6 := .Env.ENABLE_IPV6 | default "true" | toBool -}}
|
||||||
{{ $ENABLE_LIPSYNC := .Env.ENABLE_LIPSYNC | default "false" | toBool -}}
|
{{ $ENABLE_LIPSYNC := .Env.ENABLE_LIPSYNC | default "false" | toBool -}}
|
||||||
{{ $ENABLE_NO_AUDIO_DETECTION := .Env.ENABLE_NO_AUDIO_DETECTION | default "true" | toBool -}}
|
{{ $ENABLE_NO_AUDIO_DETECTION := .Env.ENABLE_NO_AUDIO_DETECTION | default "true" | toBool -}}
|
||||||
|
@ -12,14 +13,30 @@
|
||||||
{{ $ENABLE_WELCOME_PAGE := .Env.ENABLE_WELCOME_PAGE | default "true" | toBool -}}
|
{{ $ENABLE_WELCOME_PAGE := .Env.ENABLE_WELCOME_PAGE | default "true" | toBool -}}
|
||||||
{{ $ENABLE_CLOSE_PAGE := .Env.ENABLE_CLOSE_PAGE | default "false" | toBool -}}
|
{{ $ENABLE_CLOSE_PAGE := .Env.ENABLE_CLOSE_PAGE | default "false" | toBool -}}
|
||||||
{{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "false" | toBool -}}
|
{{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "false" | toBool -}}
|
||||||
|
{{ $ENABLE_SERVICE_RECORDING := .Env.ENABLE_SERVICE_RECORDING | default ($ENABLE_RECORDING | printf "%t") | toBool -}}
|
||||||
|
{{ $ENABLE_LIVESTREAMING := .Env.ENABLE_LIVESTREAMING | default "false" | toBool -}}
|
||||||
|
{{ $ENABLE_LIVESTREAMING_DATA_PRIVACY_LINK := .Env.ENABLE_LIVESTREAMING_DATA_PRIVACY_LINK | default "https://policies.google.com/privacy" -}}
|
||||||
|
{{ $ENABLE_LIVESTREAMING_HELP_LINK := .Env.ENABLE_LIVESTREAMING_HELP_LINK | default "https://jitsi.org/live" -}}
|
||||||
|
{{ $ENABLE_LIVESTREAMING_TERMS_LINK := .Env.ENABLE_LIVESTREAMING_TERMS_LINK | default "https://www.youtube.com/t/terms" -}}
|
||||||
|
{{ $ENABLE_LIVESTREAMING_VALIDATOR_REGEXP_STRING := .Env.ENABLE_LIVESTREAMING_VALIDATOR_REGEXP_STRING | default "^(?:[a-zA-Z0-9]{4}(?:-(?!$)|$)){4}" -}}
|
||||||
{{ $ENABLE_REMB := .Env.ENABLE_REMB | default "true" | toBool -}}
|
{{ $ENABLE_REMB := .Env.ENABLE_REMB | default "true" | toBool -}}
|
||||||
{{ $ENABLE_REQUIRE_DISPLAY_NAME := .Env.ENABLE_REQUIRE_DISPLAY_NAME | default "false" | toBool -}}
|
{{ $ENABLE_REQUIRE_DISPLAY_NAME := .Env.ENABLE_REQUIRE_DISPLAY_NAME | default "false" | toBool -}}
|
||||||
{{ $ENABLE_SIMULCAST := .Env.ENABLE_SIMULCAST | default "true" | toBool -}}
|
{{ $ENABLE_SIMULCAST := .Env.ENABLE_SIMULCAST | default "true" | toBool -}}
|
||||||
{{ $ENABLE_STATS_ID := .Env.ENABLE_STATS_ID | default "false" | toBool -}}
|
{{ $ENABLE_STATS_ID := .Env.ENABLE_STATS_ID | default "false" | toBool -}}
|
||||||
{{ $ENABLE_STEREO := .Env.ENABLE_STEREO | default "false" | toBool -}}
|
{{ $ENABLE_STEREO := .Env.ENABLE_STEREO | default "false" | toBool -}}
|
||||||
|
{{ $ENABLE_OPUS_RED := .Env.ENABLE_OPUS_RED | default "false" | toBool -}}
|
||||||
{{ $ENABLE_TALK_WHILE_MUTED := .Env.ENABLE_TALK_WHILE_MUTED | default "false" | toBool -}}
|
{{ $ENABLE_TALK_WHILE_MUTED := .Env.ENABLE_TALK_WHILE_MUTED | default "false" | toBool -}}
|
||||||
{{ $ENABLE_TCC := .Env.ENABLE_TCC | default "true" | toBool -}}
|
{{ $ENABLE_TCC := .Env.ENABLE_TCC | default "true" | toBool -}}
|
||||||
{{ $ENABLE_TRANSCRIPTIONS := .Env.ENABLE_TRANSCRIPTIONS | default "false" | toBool -}}
|
{{ $ENABLE_TRANSCRIPTIONS := .Env.ENABLE_TRANSCRIPTIONS | default "false" | toBool -}}
|
||||||
|
{{ $TRANSLATION_LANGUAGES := .Env.TRANSLATION_LANGUAGES | default "[]" -}}
|
||||||
|
{{ $TRANSLATION_LANGUAGES_HEAD := .Env.TRANSLATION_LANGUAGES_HEAD | default "['en']" -}}
|
||||||
|
{{ $USE_APP_LANGUAGE := .Env.USE_APP_LANGUAGE | default "true" | toBool -}}
|
||||||
|
{{ $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 -}}
|
||||||
|
{{ $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" -}}
|
||||||
{{ $RESOLUTION := .Env.RESOLUTION | default "720" -}}
|
{{ $RESOLUTION := .Env.RESOLUTION | default "720" -}}
|
||||||
{{ $RESOLUTION_MIN := .Env.RESOLUTION_MIN | default "180" -}}
|
{{ $RESOLUTION_MIN := .Env.RESOLUTION_MIN | default "180" -}}
|
||||||
{{ $RESOLUTION_WIDTH := .Env.RESOLUTION_WIDTH | default "1280" -}}
|
{{ $RESOLUTION_WIDTH := .Env.RESOLUTION_WIDTH | default "1280" -}}
|
||||||
|
@ -36,13 +53,24 @@
|
||||||
{{ $DESKTOP_SHARING_FRAMERATE_MAX := .Env.DESKTOP_SHARING_FRAMERATE_MAX | default 5 -}}
|
{{ $DESKTOP_SHARING_FRAMERATE_MAX := .Env.DESKTOP_SHARING_FRAMERATE_MAX | default 5 -}}
|
||||||
{{ $TESTING_OCTO_PROBABILITY := .Env.TESTING_OCTO_PROBABILITY | default "0" -}}
|
{{ $TESTING_OCTO_PROBABILITY := .Env.TESTING_OCTO_PROBABILITY | default "0" -}}
|
||||||
{{ $TESTING_CAP_SCREENSHARE_BITRATE := .Env.TESTING_CAP_SCREENSHARE_BITRATE | default "1" -}}
|
{{ $TESTING_CAP_SCREENSHARE_BITRATE := .Env.TESTING_CAP_SCREENSHARE_BITRATE | default "1" -}}
|
||||||
{{ $XMPP_DOMAIN := .Env.XMPP_DOMAIN -}}
|
{{ $XMPP_DOMAIN := .Env.XMPP_DOMAIN | default "meet.jitsi" -}}
|
||||||
{{ $XMPP_RECORDER_DOMAIN := .Env.XMPP_RECORDER_DOMAIN -}}
|
{{ $XMPP_RECORDER_DOMAIN := .Env.XMPP_RECORDER_DOMAIN | default "recorder.meet.jitsi" -}}
|
||||||
{{ $DISABLE_DEEP_LINKING := .Env.DISABLE_DEEP_LINKING | default "false" | toBool -}}
|
{{ $DISABLE_DEEP_LINKING := .Env.DISABLE_DEEP_LINKING | default "false" | toBool -}}
|
||||||
{{ $VIDEOQUALITY_ENFORCE_PREFERRED_CODEC := .Env.VIDEOQUALITY_ENFORCE_PREFERRED_CODEC | default "false" | toBool -}}
|
{{ $VIDEOQUALITY_ENFORCE_PREFERRED_CODEC := .Env.VIDEOQUALITY_ENFORCE_PREFERRED_CODEC | default "false" | toBool -}}
|
||||||
{{ $DISABLE_POLLS := .Env.DISABLE_POLLS | default "false" | toBool -}}
|
{{ $DISABLE_POLLS := .Env.DISABLE_POLLS | default "false" | toBool -}}
|
||||||
{{ $DISABLE_REACTIONS := .Env.DISABLE_REACTIONS | default "false" | toBool -}}
|
{{ $DISABLE_REACTIONS := .Env.DISABLE_REACTIONS | default "false" | toBool -}}
|
||||||
|
{{ $DISABLE_REMOTE_VIDEO_MENU := .Env.DISABLE_REMOTE_VIDEO_MENU | default "false" | toBool -}}
|
||||||
|
{{ $DISABLE_PRIVATE_CHAT:= .Env.DISABLE_PRIVATE_CHAT | default "false" | toBool -}}
|
||||||
|
{{ $DISABLE_KICKOUT := .Env.DISABLE_KICKOUT | default "false" | toBool -}}
|
||||||
|
{{ $DISABLE_GRANT_MODERATOR := .Env.DISABLE_GRANT_MODERATOR | default "false" | toBool -}}
|
||||||
|
{{ $ENABLE_E2EPING := .Env.ENABLE_E2EPING | default "false" | toBool -}}
|
||||||
|
{{ $DISABLE_LOCAL_RECORDING := .Env.DISABLE_LOCAL_RECORDING | default "false" | toBool -}}
|
||||||
|
{{ $ENABLE_LOCAL_RECORDING_NOTIFY_ALL_PARTICIPANT := .Env.ENABLE_LOCAL_RECORDING_NOTIFY_ALL_PARTICIPANT | default "false" | toBool -}}
|
||||||
|
{{ $ENABLE_LOCAL_RECORDING_SELF_START := .Env.ENABLE_LOCAL_RECORDING_SELF_START | default "false" | toBool -}}
|
||||||
|
{{ $DISABLE_PROFILE := .Env.DISABLE_PROFILE | default "false" | toBool -}}
|
||||||
|
{{ $ROOM_PASSWORD_DIGITS := .Env.ROOM_PASSWORD_DIGITS | default "false" -}}
|
||||||
|
{{ $WHITEBOARD_COLLAB_SERVER_PUBLIC_URL := .Env.WHITEBOARD_COLLAB_SERVER_PUBLIC_URL | default "" -}}
|
||||||
|
{{ $WHITEBOARD_ENABLED := .Env.WHITEBOARD_ENABLED | default "false" | toBool -}}
|
||||||
|
|
||||||
// Video configuration.
|
// Video configuration.
|
||||||
//
|
//
|
||||||
|
@ -61,8 +89,15 @@ config.startWithVideoMuted = {{ $START_WITH_VIDEO_MUTED }};
|
||||||
config.startBitrate = '{{ .Env.START_BITRATE }}';
|
config.startBitrate = '{{ .Env.START_BITRATE }}';
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
if (!config.hasOwnProperty('flags')) config.flags = {};
|
||||||
|
config.flags.sourceNameSignaling = true;
|
||||||
|
config.flags.sendMultipleVideoStreams = true;
|
||||||
|
config.flags.receiveMultipleVideoStreams = true;
|
||||||
|
|
||||||
|
|
||||||
// ScreenShare Configuration.
|
// ScreenShare Configuration.
|
||||||
//
|
//
|
||||||
|
|
||||||
config.desktopSharingFrameRate = { min: {{ $DESKTOP_SHARING_FRAMERATE_MIN }}, max: {{ $DESKTOP_SHARING_FRAMERATE_MAX }} };
|
config.desktopSharingFrameRate = { min: {{ $DESKTOP_SHARING_FRAMERATE_MIN }}, max: {{ $DESKTOP_SHARING_FRAMERATE_MAX }} };
|
||||||
|
|
||||||
// Audio configuration.
|
// Audio configuration.
|
||||||
|
@ -71,11 +106,19 @@ config.desktopSharingFrameRate = { min: {{ $DESKTOP_SHARING_FRAMERATE_MIN }}, ma
|
||||||
config.enableNoAudioDetection = {{ $ENABLE_NO_AUDIO_DETECTION }};
|
config.enableNoAudioDetection = {{ $ENABLE_NO_AUDIO_DETECTION }};
|
||||||
config.enableTalkWhileMuted = {{ $ENABLE_TALK_WHILE_MUTED }};
|
config.enableTalkWhileMuted = {{ $ENABLE_TALK_WHILE_MUTED }};
|
||||||
config.disableAP = {{ not $ENABLE_AUDIO_PROCESSING }};
|
config.disableAP = {{ not $ENABLE_AUDIO_PROCESSING }};
|
||||||
config.stereo = {{ $ENABLE_STEREO }};
|
|
||||||
|
if (!config.hasOwnProperty('audioQuality')) config.audioQuality = {};
|
||||||
|
config.audioQuality.stereo = {{ $ENABLE_STEREO }};
|
||||||
|
|
||||||
|
{{ if .Env.AUDIO_QUALITY_OPUS_BITRATE -}}
|
||||||
|
config.audioQuality.opusMaxAverageBitrate = '{{ .Env.AUDIO_QUALITY_OPUS_BITRATE }}';
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
config.startAudioOnly = {{ $START_AUDIO_ONLY }};
|
config.startAudioOnly = {{ $START_AUDIO_ONLY }};
|
||||||
config.startAudioMuted = {{ $START_AUDIO_MUTED }};
|
config.startAudioMuted = {{ $START_AUDIO_MUTED }};
|
||||||
config.startWithAudioMuted = {{ $START_WITH_AUDIO_MUTED }};
|
config.startWithAudioMuted = {{ $START_WITH_AUDIO_MUTED }};
|
||||||
config.startSilent = {{ $START_SILENT }};
|
config.startSilent = {{ $START_SILENT }};
|
||||||
|
config.enableOpusRed = {{ $ENABLE_OPUS_RED }};
|
||||||
config.disableAudioLevels = {{ $DISABLE_AUDIO_LEVELS }};
|
config.disableAudioLevels = {{ $DISABLE_AUDIO_LEVELS }};
|
||||||
config.enableNoisyMicDetection = {{ $ENABLE_NOISY_MIC_DETECTION }};
|
config.enableNoisyMicDetection = {{ $ENABLE_NOISY_MIC_DETECTION }};
|
||||||
|
|
||||||
|
@ -100,7 +143,7 @@ config.hideAddRoomButton = {{ $ENABLE_BREAKOUT_ROOMS | not }};
|
||||||
{{ if .Env.ETHERPAD_PUBLIC_URL -}}
|
{{ if .Env.ETHERPAD_PUBLIC_URL -}}
|
||||||
config.etherpad_base = '{{ .Env.ETHERPAD_PUBLIC_URL }}';
|
config.etherpad_base = '{{ .Env.ETHERPAD_PUBLIC_URL }}';
|
||||||
{{ else if .Env.ETHERPAD_URL_BASE -}}
|
{{ else if .Env.ETHERPAD_URL_BASE -}}
|
||||||
config.etherpad_base = '{{.Env.PUBLIC_URL}}/etherpad/p/';
|
config.etherpad_base = '{{ $PUBLIC_URL }}/etherpad/p/';
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
|
||||||
|
@ -111,11 +154,23 @@ config.etherpad_base = '{{.Env.PUBLIC_URL}}/etherpad/p/';
|
||||||
|
|
||||||
config.hiddenDomain = '{{ $XMPP_RECORDER_DOMAIN }}';
|
config.hiddenDomain = '{{ $XMPP_RECORDER_DOMAIN }}';
|
||||||
|
|
||||||
// Whether to enable file recording or not
|
if (!config.hasOwnProperty('recordingService')) config.recordingService = {};
|
||||||
config.fileRecordingsEnabled = true;
|
|
||||||
|
|
||||||
// Whether to enable live streaming or not.
|
// Whether to enable file recording or not using the "service" defined by the finalizer in Jibri
|
||||||
config.liveStreamingEnabled = true;
|
config.recordingService.enabled = {{ $ENABLE_SERVICE_RECORDING }};
|
||||||
|
|
||||||
|
// Whether to show the possibility to share file recording with other people
|
||||||
|
// (e.g. meeting participants), based on the actual implementation
|
||||||
|
// on the backend.
|
||||||
|
config.recordingService.sharingEnabled = {{ $ENABLE_FILE_RECORDING_SHARING }};
|
||||||
|
|
||||||
|
// Live streaming configuration.
|
||||||
|
if (!config.hasOwnProperty('liveStreaming')) config.liveStreaming = {};
|
||||||
|
config.liveStreaming.enabled = {{ $ENABLE_LIVESTREAMING }};
|
||||||
|
config.liveStreaming.dataPrivacyLink= '{{ $ENABLE_LIVESTREAMING_DATA_PRIVACY_LINK }}';
|
||||||
|
config.liveStreaming.helpLink= '{{ $ENABLE_LIVESTREAMING_HELP_LINK }}';
|
||||||
|
config.liveStreaming.termsLink= '{{ $ENABLE_LIVESTREAMING_TERMS_LINK }}';
|
||||||
|
config.liveStreaming.validatorRegExpString= '{{ $ENABLE_LIVESTREAMING_VALIDATOR_REGEXP_STRING }}';
|
||||||
|
|
||||||
{{ if .Env.DROPBOX_APPKEY -}}
|
{{ if .Env.DROPBOX_APPKEY -}}
|
||||||
// Enable the dropbox integration.
|
// Enable the dropbox integration.
|
||||||
|
@ -128,21 +183,14 @@ config.dropbox.appKey = '{{ .Env.DROPBOX_APPKEY }}';
|
||||||
config.dropbox.redirectURI = '{{ .Env.DROPBOX_REDIRECT_URI }}';
|
config.dropbox.redirectURI = '{{ .Env.DROPBOX_REDIRECT_URI }}';
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
{{ if $ENABLE_FILE_RECORDING_SERVICE -}}
|
|
||||||
// When integrations like dropbox are enabled only that will be shown,
|
// Local recording configuration.
|
||||||
// by enabling fileRecordingsServiceEnabled, we show both the integrations
|
if (!config.hasOwnProperty('localRecording')) config.localRecording = {};
|
||||||
// and the generic recording service (its configuration and storage type
|
config.localRecording.disable = {{ $DISABLE_LOCAL_RECORDING }};
|
||||||
// depends on jibri configuration)
|
config.localRecording.notifyAllParticipants = {{ $ENABLE_LOCAL_RECORDING_NOTIFY_ALL_PARTICIPANT }};
|
||||||
config.fileRecordingsServiceEnabled = true;
|
config.localRecording.disableSelfRecording = {{ $ENABLE_LOCAL_RECORDING_SELF_START }};
|
||||||
{{ end -}}
|
|
||||||
{{ if $ENABLE_FILE_RECORDING_SERVICE_SHARING -}}
|
|
||||||
// Whether to show the possibility to share file recording with other people
|
|
||||||
// (e.g. meeting participants), based on the actual implementation
|
|
||||||
// on the backend.
|
|
||||||
config.fileRecordingsServiceSharingEnabled = true;
|
|
||||||
{{ end -}}
|
|
||||||
{{ end -}}
|
|
||||||
|
|
||||||
|
|
||||||
// Analytics.
|
// Analytics.
|
||||||
|
@ -201,13 +249,17 @@ config.enableStatsID = {{ $ENABLE_STATS_ID }};
|
||||||
// Dial in/out services.
|
// Dial in/out services.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
{{ if $ENABLE_JAAS_COMPONENTS }}
|
||||||
|
config.dialInConfCodeUrl = 'https://conference-mapper.jitsi.net/v1/access';
|
||||||
|
config.dialInNumbersUrl = 'https://conference-mapper.jitsi.net/v1/access/dids';
|
||||||
|
{{ else }}
|
||||||
{{ if .Env.CONFCODE_URL -}}
|
{{ if .Env.CONFCODE_URL -}}
|
||||||
config.dialInConfCodeUrl = '{{ .Env.CONFCODE_URL }}';
|
config.dialInConfCodeUrl = '{{ .Env.CONFCODE_URL }}';
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{ if .Env.DIALIN_NUMBERS_URL -}}
|
{{ if .Env.DIALIN_NUMBERS_URL -}}
|
||||||
config.dialInNumbersUrl = '{{ .Env.DIALIN_NUMBERS_URL }}';
|
config.dialInNumbersUrl = '{{ .Env.DIALIN_NUMBERS_URL }}';
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
{{ if .Env.DIALOUT_AUTH_URL -}}
|
{{ if .Env.DIALOUT_AUTH_URL -}}
|
||||||
config.dialOutAuthUrl = '{{ .Env.DIALOUT_AUTH_URL }}';
|
config.dialOutAuthUrl = '{{ .Env.DIALOUT_AUTH_URL }}';
|
||||||
|
@ -249,7 +301,16 @@ config.peopleSearchQueryTypes = ['user','conferenceRooms'];
|
||||||
//
|
//
|
||||||
|
|
||||||
// Prejoin page.
|
// Prejoin page.
|
||||||
config.prejoinPageEnabled = {{ $ENABLE_PREJOIN_PAGE }};
|
if (!config.hasOwnProperty('prejoinConfig')) config.prejoinConfig = {};
|
||||||
|
config.prejoinConfig.enabled = {{ $ENABLE_PREJOIN_PAGE }};
|
||||||
|
|
||||||
|
// Hides the participant name editing field in the prejoin screen.
|
||||||
|
config.prejoinConfig.hideDisplayName = {{ $HIDE_PREJOIN_DISPLAY_NAME }};
|
||||||
|
|
||||||
|
// List of buttons to hide from the extra join options dropdown on prejoin screen.
|
||||||
|
{{ if .Env.HIDE_PREJOIN_EXTRA_BUTTONS -}}
|
||||||
|
config.prejoinConfig.hideExtraJoinButtons = [ '{{ join "','" (splitList "," .Env.HIDE_PREJOIN_EXTRA_BUTTONS) }}' ];
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
// Welcome page.
|
// Welcome page.
|
||||||
config.enableWelcomePage = {{ $ENABLE_WELCOME_PAGE }};
|
config.enableWelcomePage = {{ $ENABLE_WELCOME_PAGE }};
|
||||||
|
@ -270,6 +331,15 @@ config.requireDisplayName = {{ $ENABLE_REQUIRE_DISPLAY_NAME }};
|
||||||
config.chromeExtensionBanner = {{ .Env.CHROME_EXTENSION_BANNER_JSON }};
|
config.chromeExtensionBanner = {{ .Env.CHROME_EXTENSION_BANNER_JSON }};
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
// Disables profile and the edit of all fields from the profile settings (display name and email)
|
||||||
|
config.disableProfile = {{ $DISABLE_PROFILE }};
|
||||||
|
|
||||||
|
// Room password (false for anything, number for max digits)
|
||||||
|
{{ if $ENABLE_JAAS_COMPONENTS -}}
|
||||||
|
config.roomPasswordNumberOfDigits = 10;
|
||||||
|
{{ else -}}
|
||||||
|
config.roomPasswordNumberOfDigits = {{ $ROOM_PASSWORD_DIGITS }};
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
// Advanced.
|
// Advanced.
|
||||||
//
|
//
|
||||||
|
@ -284,11 +354,19 @@ config.enableTcc = {{ $ENABLE_TCC }};
|
||||||
config.useIPv6 = {{ $ENABLE_IPV6 }};
|
config.useIPv6 = {{ $ENABLE_IPV6 }};
|
||||||
|
|
||||||
// Transcriptions (subtitles and buttons can be configured in interface_config)
|
// Transcriptions (subtitles and buttons can be configured in interface_config)
|
||||||
config.transcribingEnabled = {{ $ENABLE_TRANSCRIPTIONS }};
|
config.transcription = { enabled: {{ $ENABLE_TRANSCRIPTIONS }} };
|
||||||
|
config.transcription.translationLanguages = {{ $TRANSLATION_LANGUAGES }};
|
||||||
|
config.transcription.translationLanguagesHead = {{ $TRANSLATION_LANGUAGES_HEAD }};
|
||||||
|
config.transcription.useAppLanguage = {{ $USE_APP_LANGUAGE }};
|
||||||
|
config.transcription.preferredLanguage = '{{ $PREFERRED_LANGUAGE }}';
|
||||||
|
config.transcription.disableStartForAll = {{ $DISABLE_START_FOR_ALL }};
|
||||||
|
config.transcription.autoCaptionOnRecord = {{ $AUTO_CAPTION_ON_RECORD }};
|
||||||
|
|
||||||
{{ if .Env.DYNAMIC_BRANDING_URL -}}
|
{{ if .Env.DYNAMIC_BRANDING_URL -}}
|
||||||
// External API url used to receive branding specific information.
|
// External API url used to receive branding specific information.
|
||||||
config.dynamicBrandingUrl = '{{ .Env.DYNAMIC_BRANDING_URL }}';
|
config.dynamicBrandingUrl = '{{ .Env.DYNAMIC_BRANDING_URL }}';
|
||||||
|
{{ else if .Env.BRANDING_DATA_URL -}}
|
||||||
|
config.brandingDataUrl = '{{ .Env.BRANDING_DATA_URL }}';
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{ if .Env.TOKEN_AUTH_URL -}}
|
{{ if .Env.TOKEN_AUTH_URL -}}
|
||||||
|
@ -340,7 +418,7 @@ config.disableDeepLinking = {{ $DISABLE_DEEP_LINKING }};
|
||||||
config.p2p.preferredCodec = '{{ .Env.P2P_PREFERRED_CODEC }}';
|
config.p2p.preferredCodec = '{{ .Env.P2P_PREFERRED_CODEC }}';
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
// enable preffered video Codec
|
// Enable preferred video Codec
|
||||||
if (!config.hasOwnProperty('videoQuality')) config.videoQuality = {};
|
if (!config.hasOwnProperty('videoQuality')) config.videoQuality = {};
|
||||||
{{ if .Env.VIDEOQUALITY_PREFERRED_CODEC -}}
|
{{ if .Env.VIDEOQUALITY_PREFERRED_CODEC -}}
|
||||||
config.videoQuality.preferredCodec = '{{ .Env.VIDEOQUALITY_PREFERRED_CODEC }}';
|
config.videoQuality.preferredCodec = '{{ .Env.VIDEOQUALITY_PREFERRED_CODEC }}';
|
||||||
|
@ -348,14 +426,17 @@ config.videoQuality.preferredCodec = '{{ .Env.VIDEOQUALITY_PREFERRED_CODEC }}';
|
||||||
|
|
||||||
config.videoQuality.enforcePreferredCodec = {{ $VIDEOQUALITY_ENFORCE_PREFERRED_CODEC }};
|
config.videoQuality.enforcePreferredCodec = {{ $VIDEOQUALITY_ENFORCE_PREFERRED_CODEC }};
|
||||||
|
|
||||||
if (!config.videoQuality.hasOwnProperty('maxBitratesVideo')) config.videoQuality.maxBitratesVideo = {};
|
if (!config.videoQuality.hasOwnProperty('maxBitratesVideo')) config.videoQuality.maxBitratesVideo = null;
|
||||||
{{ if and .Env.VIDEOQUALITY_BITRATE_H264_LOW .Env.VIDEOQUALITY_BITRATE_H264_STANDARD .Env.VIDEOQUALITY_BITRATE_H264_HIGH -}}
|
{{ if and .Env.VIDEOQUALITY_BITRATE_H264_LOW .Env.VIDEOQUALITY_BITRATE_H264_STANDARD .Env.VIDEOQUALITY_BITRATE_H264_HIGH -}}
|
||||||
|
config.videoQuality.maxBitratesVideo = config.videoQuality.maxBitratesVideo || {}
|
||||||
config.videoQuality.maxBitratesVideo.H264 = { low: {{ .Env.VIDEOQUALITY_BITRATE_H264_LOW }}, standard: {{ .Env.VIDEOQUALITY_BITRATE_H264_STANDARD }}, high: {{ .Env.VIDEOQUALITY_BITRATE_H264_HIGH }} };
|
config.videoQuality.maxBitratesVideo.H264 = { low: {{ .Env.VIDEOQUALITY_BITRATE_H264_LOW }}, standard: {{ .Env.VIDEOQUALITY_BITRATE_H264_STANDARD }}, high: {{ .Env.VIDEOQUALITY_BITRATE_H264_HIGH }} };
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ if and .Env.VIDEOQUALITY_BITRATE_VP8_LOW .Env.VIDEOQUALITY_BITRATE_VP8_STANDARD .Env.VIDEOQUALITY_BITRATE_VP8_HIGH -}}
|
{{ if and .Env.VIDEOQUALITY_BITRATE_VP8_LOW .Env.VIDEOQUALITY_BITRATE_VP8_STANDARD .Env.VIDEOQUALITY_BITRATE_VP8_HIGH -}}
|
||||||
|
config.videoQuality.maxBitratesVideo = config.videoQuality.maxBitratesVideo || {}
|
||||||
config.videoQuality.maxBitratesVideo.VP8 = { low: {{ .Env.VIDEOQUALITY_BITRATE_VP8_LOW }}, standard: {{ .Env.VIDEOQUALITY_BITRATE_VP8_STANDARD }}, high: {{ .Env.VIDEOQUALITY_BITRATE_VP8_HIGH }} };
|
config.videoQuality.maxBitratesVideo.VP8 = { low: {{ .Env.VIDEOQUALITY_BITRATE_VP8_LOW }}, standard: {{ .Env.VIDEOQUALITY_BITRATE_VP8_STANDARD }}, high: {{ .Env.VIDEOQUALITY_BITRATE_VP8_HIGH }} };
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ if and .Env.VIDEOQUALITY_BITRATE_VP9_LOW .Env.VIDEOQUALITY_BITRATE_VP9_STANDARD .Env.VIDEOQUALITY_BITRATE_VP9_HIGH -}}
|
{{ if and .Env.VIDEOQUALITY_BITRATE_VP9_LOW .Env.VIDEOQUALITY_BITRATE_VP9_STANDARD .Env.VIDEOQUALITY_BITRATE_VP9_HIGH -}}
|
||||||
|
config.videoQuality.maxBitratesVideo = config.videoQuality.maxBitratesVideo || {}
|
||||||
config.videoQuality.maxBitratesVideo.VP9 = { low: {{ .Env.VIDEOQUALITY_BITRATE_VP9_LOW }}, standard: {{ .Env.VIDEOQUALITY_BITRATE_VP9_STANDARD }}, high: {{ .Env.VIDEOQUALITY_BITRATE_VP9_HIGH }} };
|
config.videoQuality.maxBitratesVideo.VP9 = { low: {{ .Env.VIDEOQUALITY_BITRATE_VP9_LOW }}, standard: {{ .Env.VIDEOQUALITY_BITRATE_VP9_STANDARD }}, high: {{ .Env.VIDEOQUALITY_BITRATE_VP9_HIGH }} };
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
@ -377,13 +458,25 @@ config.hiddenPremeetingButtons = [ '{{ join "','" (splitList "," .Env.HIDE_PREME
|
||||||
|
|
||||||
// Configure remote participant video menu
|
// Configure remote participant video menu
|
||||||
if (!config.hasOwnProperty('remoteVideoMenu')) config.remoteVideoMenu = {};
|
if (!config.hasOwnProperty('remoteVideoMenu')) config.remoteVideoMenu = {};
|
||||||
{{ if .Env.DISABLE_KICKOUT -}}
|
config.remoteVideoMenu.disabled = {{ $DISABLE_REMOTE_VIDEO_MENU }};
|
||||||
config.remoteVideoMenu.disableKick = {{ .Env.DISABLE_KICKOUT }};
|
config.remoteVideoMenu.disableKick = {{ $DISABLE_KICKOUT }};
|
||||||
{{ end -}}
|
config.remoteVideoMenu.disableGrantModerator = {{ $DISABLE_GRANT_MODERATOR }};
|
||||||
{{ if .Env.DISABLE_GRANT_MODERATOR -}}
|
config.remoteVideoMenu.disablePrivateChat = {{ $DISABLE_PRIVATE_CHAT }};
|
||||||
config.remoteVideoMenu.disableGrantModerator = {{ .Env.DISABLE_GRANT_MODERATOR }};
|
|
||||||
{{ end -}}
|
|
||||||
|
|
||||||
config.disableThirdPartyRequests = true;
|
// Configure e2eping
|
||||||
config.channelLastN = 8;
|
if (!config.hasOwnProperty('e2eping')) config.e2eping = {};
|
||||||
config.enableLayerSuspension = true;
|
config.e2eping.enabled = {{ $ENABLE_E2EPING }};
|
||||||
|
{{ if .Env.E2EPING_NUM_REQUESTS -}}
|
||||||
|
config.e2eping.numRequests = {{ .Env.E2EPING_NUM_REQUESTS }};
|
||||||
|
{{ end -}}
|
||||||
|
{{ if .Env.E2EPING_MAX_CONFERENCE_SIZE -}}
|
||||||
|
config.e2eping.maxConferenceSize = {{ .Env.E2EPING_MAX_CONFERENCE_SIZE }};
|
||||||
|
{{ end -}}
|
||||||
|
{{ if .Env.E2EPING_MAX_MESSAGE_PER_SECOND -}}
|
||||||
|
config.e2eping.maxMessagePerSecond = {{ .Env.E2EPING_MAX_MESSAGE_PER_SECOND }};
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
// Settings for the Excalidraw whiteboard integration.
|
||||||
|
if (!config.hasOwnProperty('whiteboard')) config.whiteboard = {};
|
||||||
|
config.whiteboard.enabled = {{ $WHITEBOARD_ENABLED }};
|
||||||
|
config.whiteboard.collabServerBaseUrl = '{{ $WHITEBOARD_COLLAB_SERVER_PUBLIC_URL }}';
|
||||||
|
|
Loading…
Reference in a new issue