Pulsaudio pacmd sound stream player support #3593
Dirigibility
started this conversation in
Feature Polls
Replies: 1 comment 8 replies
-
Why not use snapcast if you RPis everywhere or picoreplayer? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
pacmd is handy to stream sound from one linux to another since it's in most repos and on desktops.
I use it to stream sound from Ubuntu VMs with Spotify to Rpi's connected to speakers all over the house.
The pacmd server runs on the Rpi and the client connects to it via:
pacmd load-module module-tunnel-sink server=SERVERIP:port
It creates a dummy sound card on the client machine.
Sound quality is good (PCM), it's reliable and it doesn't require any extra software besides what's in the distro already.
So Music assistant just needs to invoke the command above to connect to a remote pacmd server.
*On the Rpi side (or any computer connected to the speakers/amp) you run the command bellow to listen to the streams (or use the Pulsaudio extended GUI):
pactl load-module module-native-protocol-tcp port=PORT listen=SERVERIPADDRESS auth-ip-acl='127.0.0.1;CLIENTIP' auth-anonymous=1
SERVERIP=IP of Rpi player
CLIENTIP=IP of the MusicAssistant.
4 votes ·
Beta Was this translation helpful? Give feedback.
All reactions