feat(audio): add an option to disable sound streaming (#3833)

This commit is contained in:
Clutchnp
2025-05-01 21:09:43 +05:30
committed by GitHub
parent 7b6818ab4a
commit 8ef838bada
6 changed files with 40 additions and 0 deletions

View File

@@ -63,6 +63,14 @@ const config = ref(props.config)
</template>
</PlatformLayout>
<!-- Disable Audio -->
<Checkbox class="mb-3"
id="stream_audio"
locale-prefix="config"
v-model="config.stream_audio"
default="true"
></Checkbox>
<AdapterNameSelector
:platform="platform"
:config="config"

View File

@@ -329,6 +329,8 @@
"qsv_slow_hevc": "Allow Slow HEVC Encoding",
"qsv_slow_hevc_desc": "This can enable HEVC encoding on older Intel GPUs, at the cost of higher GPU usage and worse performance.",
"restart_note": "Sunshine is restarting to apply changes.",
"stream_audio": "Stream Audio",
"stream_audio_desc": "Whether to stream audio or not. Disabling this can be useful for streaming headless displays as second monitors.",
"sunshine_name": "Sunshine Name",
"sunshine_name_desc": "The name displayed by Moonlight. If not specified, the PC's hostname is used",
"sw_preset": "SW Presets",