On Servers and Clients

edit /etc/pulse/daemon.conf
Add this to the bottom

resample-method = src-sinc-fastest
default-sample-channels = 2
default-sample-rate = 44100
default-sample-format = s16le

Edit /etc/pulse/default.pa

On client
Add this to the bottom
load-module module-rtp-recv

On server

Add this to the bottom

load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100
load-module module-rtp-send source=rtp.monitor
set-default-sink rtp

Restart your pulse audio on all the devices
(pulseaudio –realtime=y) and in a few second client will find servers and start playing it

I had latency issues between my two clinets of over a second
I managed to sync them using the latency_msec but found that over time the audio woudl drift. Im not sure if its because the pulse audio version differencial (5 vs 8) or somethign but but have given up
On one client
load-module module-rtp-recv latency_msec=500

on another client
load-module module-rtp-recv latency_msec=1600

Leave a Reply

Your email address will not be published.