Skip to content

Commit 6a9aeaf

Browse files
committed
add disable_audio option to web-ui
1 parent ce4fcf2 commit 6a9aeaf

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src_assets/common/assets/web/configs/tabs/AudioVideo.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ const config = ref(props.config)
6363
</template>
6464
</PlatformLayout>
6565

66+
<!-- Disable Audio -->
67+
<Checkbox class="mb-3"
68+
id="disable_audio"
69+
locale-prefix="config"
70+
v-model="config.disable_audio"
71+
default="false"
72+
></Checkbox>
73+
6674
<AdapterNameSelector
6775
:platform="platform"
6876
:config="config"

src_assets/common/assets/web/public/assets/locale/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@
227227
"hevc_mode_desc": "Allows the client to request HEVC Main or HEVC Main10 video streams. HEVC is more CPU-intensive to encode, so enabling this may reduce performance when using software encoding.",
228228
"high_resolution_scrolling": "High Resolution Scrolling Support",
229229
"high_resolution_scrolling_desc": "When enabled, Sunshine will pass through high resolution scroll events from Moonlight clients. This can be useful to disable for older applications that scroll too fast with high resolution scroll events.",
230+
"disable_audio" : "Disable Audio Streaming",
231+
"disable_audio_desc" : "Disable Streaming Audio Completely, useful for streaming headless monitors",
230232
"install_steam_audio_drivers": "Install Steam Audio Drivers",
231233
"install_steam_audio_drivers_desc": "If Steam is installed, this will automatically install the Steam Streaming Speakers driver to support 5.1/7.1 surround sound and muting host audio.",
232234
"key_repeat_delay": "Key Repeat Delay",

0 commit comments

Comments
 (0)