diff --git a/docker-compose.yml b/docker-compose.yml index e108f16..2f237ab 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,7 +40,9 @@ services: - DISABLE_HTTPS - DISABLE_KICKOUT - DISABLE_POLLS + - DISABLE_PRIVATE_CHAT - DISABLE_REACTIONS + - DISABLE_REMOTE_VIDEO_MENU - DROPBOX_APPKEY - DROPBOX_REDIRECT_URI - DYNAMIC_BRANDING_URL @@ -49,6 +51,7 @@ services: - ENABLE_BREAKOUT_ROOMS - ENABLE_CALENDAR - ENABLE_COLIBRI_WEBSOCKET + - ENABLE_E2EPING - ENABLE_FILE_RECORDING_SERVICE - ENABLE_FILE_RECORDING_SERVICE_SHARING - ENABLE_FLOC @@ -78,6 +81,9 @@ services: - ENABLE_XMPP_WEBSOCKET - ETHERPAD_PUBLIC_URL - ETHERPAD_URL_BASE + - E2EPING_NUM_REQUESTS + - E2EPING_MAX_CONFERENCE_SIZE + - E2EPING_MAX_MESSAGE_PER_SECOND - GOOGLE_ANALYTICS_ID - GOOGLE_API_APP_CLIENT_ID - HIDE_PREMEETING_BUTTONS diff --git a/web/rootfs/defaults/settings-config.js b/web/rootfs/defaults/settings-config.js index 89bc7b3..b300571 100644 --- a/web/rootfs/defaults/settings-config.js +++ b/web/rootfs/defaults/settings-config.js @@ -43,7 +43,11 @@ {{ $VIDEOQUALITY_ENFORCE_PREFERRED_CODEC := .Env.VIDEOQUALITY_ENFORCE_PREFERRED_CODEC | default "false" | toBool -}} {{ $DISABLE_POLLS := .Env.DISABLE_POLLS | 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 -}} // Video configuration. // @@ -386,9 +390,20 @@ config.hiddenPremeetingButtons = [ '{{ join "','" (splitList "," .Env.HIDE_PREME // Configure remote participant video menu if (!config.hasOwnProperty('remoteVideoMenu')) config.remoteVideoMenu = {}; -{{ if .Env.DISABLE_KICKOUT -}} -config.remoteVideoMenu.disableKick = {{ .Env.DISABLE_KICKOUT }}; -{{ end -}} -{{ if .Env.DISABLE_GRANT_MODERATOR -}} -config.remoteVideoMenu.disableGrantModerator = {{ .Env.DISABLE_GRANT_MODERATOR }}; -{{ end -}} \ No newline at end of file +config.remoteVideoMenu.disabled = {{ $DISABLE_REMOTE_VIDEO_MENU }}; +config.remoteVideoMenu.disableKick = {{ $DISABLE_KICKOUT }}; +config.remoteVideoMenu.disableGrantModerator = {{ $DISABLE_GRANT_MODERATOR }}; +config.remoteVideoMenu.disablePrivateChat = {{ $DISABLE_PRIVATE_CHAT }}; + +// Configure e2eping +if (!config.hasOwnProperty('e2eping')) config.e2eping = {}; +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 }}