Adding functions

This commit is contained in:
2026-05-21 19:18:05 -06:00
parent 836d775d3d
commit 7bc6d2789b
3 changed files with 129 additions and 62 deletions

View File

@@ -69,8 +69,11 @@ $encoder_block
# Threading — more threads helps high-bitrate H.265/AV1.
min_threads = 4
# Use the PipeWire pulse compatibility layer for audio.
audio_sink = pulse
# Audio sink is intentionally left unset so Sunshine auto-detects the default
# PulseAudio/PipeWire sink and creates its virtual `sink-sunshine-stereo`.
# Hard-coding audio_sink = pulse here breaks capture: Sunshine treats it as a
# literal sink name, can't resolve its monitor source, and pa_simple_new()
# fails with "Invalid argument" → no audio in the stream.
# Keyboard / mouse / gamepad pass-through via /dev/uinput.
# (Requires user to be in the 'input' group; install.sh handles this.)