0
1
I would like to configure my pulseaudio so that it will always play on a remote server if that is available, but will seamlessly switch to the local sound system if the remote is not available. Also if the remote becomes avaiale again, it should switch back.
Is that possible at all? Tunnels look promising, but I have not gotten it to work.
I can see the local and remote sinks:
isaac@auko:~$ pactl list short sinks
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
1 tunnel.gaysboard.local.alsa_output.pci-0000_00_1b.0.analog-stereo module-tunnel.c s16le 2ch 44100Hz SUSPENDED
2 tunnel.gaysboard.local.alsa_output.pci-0000_00_1b.0.analog-stereo.2 module-tunnel.c s16le 2ch 44100Hz SUSPENDED
They also show up in pavucontrol. Also, I can not select the output device in pavucontrol - I was under the impression that this should be possible. Am I correct?
So how can I set up automatic switching? And how can I choose the device with pavucontrol? (I can choose it with pax11publish)
After fiddling around with this for a bit, it occured to me that I should also address wake up after sleep, and that there could be more then one user logged in when waking up. It appeared more and more complicated, which is why I took a different approach, see my answer. – Isaac – 2015-09-11T18:17:11.507