diff --git a/docker-compose.yml b/docker-compose.yml index 9cf2eb3..ef64abd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -76,6 +76,7 @@ services: - RESOLUTION_MIN - RESOLUTION_WIDTH - RESOLUTION_WIDTH_MIN + - START_AUDIO_ONLY - START_AUDIO_MUTED - START_BITRATE - START_VIDEO_MUTED diff --git a/web/rootfs/defaults/settings-config.js b/web/rootfs/defaults/settings-config.js index 26bc62e..c3205d0 100644 --- a/web/rootfs/defaults/settings-config.js +++ b/web/rootfs/defaults/settings-config.js @@ -22,6 +22,7 @@ {{ $RESOLUTION_MIN := .Env.RESOLUTION_MIN | default "180" -}} {{ $RESOLUTION_WIDTH := .Env.RESOLUTION_WIDTH | default "1280" -}} {{ $RESOLUTION_WIDTH_MIN := .Env.RESOLUTION_WIDTH_MIN | default "320" -}} +{{ $START_AUDIO_ONLY := .Env.START_AUDIO_ONLY | default "false" | toBool -}} {{ $START_AUDIO_MUTED := .Env.START_AUDIO_MUTED | default 10 -}} {{ $START_VIDEO_MUTED := .Env.START_VIDEO_MUTED | default 10 -}} {{ $TESTING_OCTO_PROBABILITY := .Env.TESTING_OCTO_PROBABILITY | default "0" -}} @@ -55,6 +56,7 @@ config.enableNoAudioDetection = {{ $ENABLE_NO_AUDIO_DETECTION }}; config.enableTalkWhileMuted = {{ $ENABLE_TALK_WHILE_MUTED }}; config.disableAP = {{ not $ENABLE_AUDIO_PROCESSING }}; config.stereo = {{ $ENABLE_STEREO }}; +config.startAudioOnly = {{ $START_AUDIO_ONLY }}; config.startAudioMuted = {{ $START_AUDIO_MUTED }};