Answer the question
In order to leave comments, you need to log in
How to properly configure Pulseaudio so that the sound from the server sounds on computers in the local network?
Good afternoon!
There is an HP G7 (G7) without a sound card, which runs the Majordomo (MD) smart home system on Apache. Wired to a Wi-Fi router. Installed Ubuntu Server 12.04.
There is a CubieTruck (CT) with speakers that runs MPD. Pulls music over Wi-Fi with G7. Building on Debian Wheezy like.
There is a laptop (X). WiFi. Installed Ubuntu 12.04.
By sorting through the settings on various articles from the Internet, we managed to set up the sound from the G7 to play on X, CT. G7 - system mode, on X - user mode, on CT also in system mode.
In the PA settings it is written that the system mode is bad and should not be used.
But, apparently, I set it up incorrectly, because:
a) with available CT and X, it only plays on X (changed the order of the syncs, it didn’t help)
b) when the CT is idle for a long time, PA stops working
; c) if music from MPD is playing on the CT, then the sound from the G7 cannot break through. Streams do not overlap.
Question: How to properly configure Pulseaudio (PA) on each computer so that the sound from the G7 sounds on the available speakers: CT, X?
On both at the same time, if both are enabled, or on one of them.
Sound from G7 is voice notifications from MD (launches mplayer with mp3 File).
A few settings that I changed (from memory):
/etc/pulse/system.pa on G7:
load-module module-esound-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16
load-module module-zeroconf-publish
load-module module-tunnel-sink server=192.168.1.38
load-module module-tunnel-sink server=192.168.1.94
load-module module-combine-sink sink_name=x230_speakers slaves=tunnel-sink.192.168.1.94
load-module module-combine-sink sink_name=cubie_speakers slaves=tunnel-sink.192.168.1.38
load-module module-combine-sink sink_name=all_speakers slaves=cubie_speakers,x230_speakers
set-default-sink all_speakers
load-module module-esound-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16
load-module module-zeroconf-publish
set-default-sink alsa_output.platform-sunxi-codec.analog-stereo
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question