|
|
@ -25,9 +25,12 @@ |
|
|
|
{{ $RESOLUTION_WIDTH_MIN := .Env.RESOLUTION_WIDTH_MIN | default "320" -}} |
|
|
|
{{ $RESOLUTION_WIDTH_MIN := .Env.RESOLUTION_WIDTH_MIN | default "320" -}} |
|
|
|
{{ $START_AUDIO_ONLY := .Env.START_AUDIO_ONLY | default "false" | toBool -}} |
|
|
|
{{ $START_AUDIO_ONLY := .Env.START_AUDIO_ONLY | default "false" | toBool -}} |
|
|
|
{{ $START_AUDIO_MUTED := .Env.START_AUDIO_MUTED | default 10 -}} |
|
|
|
{{ $START_AUDIO_MUTED := .Env.START_AUDIO_MUTED | default 10 -}} |
|
|
|
|
|
|
|
{{ $START_WITH_AUDIO_MUTED := .Env.START_WITH_AUDIO_MUTED | default "false" | toBool -}} |
|
|
|
|
|
|
|
{{ $START_SILENT := .Env.START_SILENT | default "false" | toBool -}} |
|
|
|
{{ $DISABLE_AUDIO_LEVELS := .Env.DISABLE_AUDIO_LEVELS | default "false" | toBool -}} |
|
|
|
{{ $DISABLE_AUDIO_LEVELS := .Env.DISABLE_AUDIO_LEVELS | default "false" | toBool -}} |
|
|
|
{{ $ENABLE_NOISY_MIC_DETECTION := .Env.ENABLE_NOISY_MIC_DETECTION | default "true" | toBool -}} |
|
|
|
{{ $ENABLE_NOISY_MIC_DETECTION := .Env.ENABLE_NOISY_MIC_DETECTION | default "true" | toBool -}} |
|
|
|
{{ $START_VIDEO_MUTED := .Env.START_VIDEO_MUTED | default 10 -}} |
|
|
|
{{ $START_VIDEO_MUTED := .Env.START_VIDEO_MUTED | default 10 -}} |
|
|
|
|
|
|
|
{{ $START_WITH_VIDEO_MUTED := .Env.START_WITH_VIDEO_MUTED | default "false" | toBool -}} |
|
|
|
{{ $DESKTOP_SHARING_FRAMERATE_MIN := .Env.DESKTOP_SHARING_FRAMERATE_MIN | default 5 -}} |
|
|
|
{{ $DESKTOP_SHARING_FRAMERATE_MIN := .Env.DESKTOP_SHARING_FRAMERATE_MIN | default 5 -}} |
|
|
|
{{ $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" -}} |
|
|
@ -47,6 +50,7 @@ config.constraints.video.height = { ideal: {{ $RESOLUTION }}, max: {{ $RESOLUTIO |
|
|
|
config.constraints.video.width = { ideal: {{ $RESOLUTION_WIDTH }}, max: {{ $RESOLUTION_WIDTH }}, min: {{ $RESOLUTION_WIDTH_MIN }}}; |
|
|
|
config.constraints.video.width = { ideal: {{ $RESOLUTION_WIDTH }}, max: {{ $RESOLUTION_WIDTH }}, min: {{ $RESOLUTION_WIDTH_MIN }}}; |
|
|
|
config.disableSimulcast = {{ not $ENABLE_SIMULCAST }}; |
|
|
|
config.disableSimulcast = {{ not $ENABLE_SIMULCAST }}; |
|
|
|
config.startVideoMuted = {{ $START_VIDEO_MUTED }}; |
|
|
|
config.startVideoMuted = {{ $START_VIDEO_MUTED }}; |
|
|
|
|
|
|
|
config.startWithVideoMuted = {{ $START_WITH_VIDEO_MUTED }}; |
|
|
|
|
|
|
|
|
|
|
|
{{ if .Env.START_BITRATE -}} |
|
|
|
{{ if .Env.START_BITRATE -}} |
|
|
|
config.startBitrate = '{{ .Env.START_BITRATE }}'; |
|
|
|
config.startBitrate = '{{ .Env.START_BITRATE }}'; |
|
|
@ -65,6 +69,8 @@ config.disableAP = {{ not $ENABLE_AUDIO_PROCESSING }}; |
|
|
|
config.stereo = {{ $ENABLE_STEREO }}; |
|
|
|
config.stereo = {{ $ENABLE_STEREO }}; |
|
|
|
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.startSilent = {{ $START_SILENT }}; |
|
|
|
config.disableAudioLevels = {{ $DISABLE_AUDIO_LEVELS }}; |
|
|
|
config.disableAudioLevels = {{ $DISABLE_AUDIO_LEVELS }}; |
|
|
|
config.enableNoisyMicDetection = {{ $ENABLE_NOISY_MIC_DETECTION }}; |
|
|
|
config.enableNoisyMicDetection = {{ $ENABLE_NOISY_MIC_DETECTION }}; |
|
|
|
|
|
|
|
|
|
|
|