|
|
|
@ -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 -}} |
|
|
|
|
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 }} |
|
|
|
|