I've set up pulseaudio on my Ubuntu server to receive tcp streams like suggested in the pulseaudio documentation and many tutorials. My /etc/pulse/default.pa
now contains these lines:
load-module module-esound-protocol-tcp auth-anonymous=1
load-module module-native-protocol-tcp
load-module module-zeroconf-publish
I've restarted the daemon using
pulseaudio -k
pulseaudio -D
From my understanding I should now be able to use the server as sink from my client. Ideally I'd like to select the output device with PulseAudio Volume Control but get it to work at all. I've tried to set PULSE_SERVER
to point to my server but I get playback errors.
Can anyone tell me if my server configuration is right and how to configure the client (13.04)?
Update
I finally found out that I have to load the module module-zeroconf-discover
on the client. If I now restart the daemon on the client the server is discovered but the sink can't be created. /var/log/syslog
says this:
pulseaudio[4877]: [pulseaudio] module-tunnel.c: Failed to create sink.
pulseaudio[4877]: [pulseaudio] module.c: Failed to load module "module-tunnel-sink" (argument: "server=[192.168.1.2]:4713 sink=auto_null format=s16le channels=2 rate=44100 sink_name=tunnel.myserver.local.auto_null channel_map=front-left,front-right"): initialization failed.
pulseaudio[4877]: [pulseaudio] module-tunnel.c: Failed to authenticate
I don't quite get how it can fail to authenticate if anonymous login is allowed.
Update
The authentication failure seems to happen randomly. If it doesn't appear the relevant log entry is
[pulseaudio] module-tunnel.c: Stream died.
instead. The other two entries look the same.