sunshine icon indicating copy to clipboard operation
sunshine copied to clipboard

Audio keeps playing in my speaker instead of the client (moonlight)

Open cpuccino opened this issue 3 years ago • 1 comments

Have to restart sunshine a couple times for the audio to play in moonlight instead of my laptop. Is there anything I can do to consistently play the audio in moonlight?

Edit: I've managed to solve this by selecting the sink again in the output selector.

$ pacmd list-sinks | grep "name:"
----
name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
name: <sink-sunshine-stereo>
name: <sink-sunshine-surround51>
name: <sink-sunshine-surround71>

cpuccino avatar Oct 07 '21 10:10 cpuccino

I've managed to kinda get the audio working in a predictable manner now. If the audio doesn't work I just click the sink-sunshine-stereo in the list. One other issue tho is that sometimes, there are multiple entries. Clicking one of the invalid ones would freeze the pc and clean up the other invalid ones.

image

edit: Actually this might be an issue with the "Sound Input & Output Device Choose" plugin instead.

cpuccino avatar Nov 25 '21 07:11 cpuccino