Hi guys,
Thats my setup at home:
- Server : Virtuell machine (Mint) with mopidy and pulseaudio
- Client1: Rasperry in room wz with pulseaudio
- Client2: Rasperry in room ku with pulseaudio
I wanted to stream music from the Server to these two clients with “module-tunnel-sink” and it works well.
Changings on the Server:
I changed the following line in the /etc/mopidy/mopidy.conf:
output = pulsesink device=sinks_combined
I add these lines in the system.pa:
load-module module-tunnel-sink server=192.168.1.17 sink_name=wz
load-module module-tunnel-sink server=192.168.1.30 sink_name=ku
load-module module-combine-sink sink_name=sinks_combined slaves=wz,ku
set-default-sink sinks_combined
Changings on the Client1 and Client2:
I add this line in the /etc/pulse/system.pa:
load-module module-native-protocol-tcp auth-anonymous=1
This setup works well to stream music from the Server to Client1 Client2.
BUT, if one Client is disconnected from the network, an error occurs on the Server:
Dec 16 07:39:28 Virtual-Machine pulseaudio[5724]: [pulseaudio] module-combine-sink.c: [ku] sample rates too different, not adjusting (44100 vs. 64038).
Dec 16 07:39:38 Virtual-Machine pulseaudio[5724]: [pulseaudio] module-combine-sink.c: [ku] Total latency of output is very high (14913.24ms), most likely the audio timing in one of your drivers is broken.
Dec 16 07:39:38 Virtual-Machine pulseaudio[5724]: [pulseaudio] module-combine-sink.c: [ku] sample rates too different, not adjusting (44100 vs. 108689).
Dec 16 07:39:38 Virtual-Machine pulseaudio[5724]: [pulseaudio] module-tunnel.c: Protocol error.
If the Client is reconnected the stream never come back. The only way is:
- Restart pulseaudio on the Client
- Restart pulseaudio on the Server
- Click play to stream the music again
Are there any user with an likewise setup? Is this a bug of mopidy?