PulseAudio RTP Multicast - how to synchronize audio on all receivers?

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am streaming music from a single controlling PC ("sender") to multiple PCs (receivers) on my LAN as described here:
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#index2h3
All my PC's run Arch Linux and my backend is Phonon VLC (same setup on all, if that matters). My LAN is a wired Gigabit Ethernet. The problem I am having is that the receivers are out of sync by a very noticeable amount -- a full second or two.
All computers on my LAN use ntp and all show that they are synchronized and accurate:
sudo timedatectl status
System clock synchronized: yes
NTP service: active
My current setup is very simple for testing right now:
sender
pactl load-module module-null-sink sink_name=rtpsink1
pactl load-module module-rtp-send source=rtpsink1.monitor
pactl load-module module-combine-sink sink_name=rtp1combined slaves=abcd,wxyz
receivers
pactl load-module module-rtp-recv
All computers, including the sender, are playing audio. If I stand in a central location where I can here them all, none of them are in sync. The difference can be as great as at least a full second (maybe more).
networking audio pulseaudio multicast
add a comment |Â
up vote
1
down vote
favorite
I am streaming music from a single controlling PC ("sender") to multiple PCs (receivers) on my LAN as described here:
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#index2h3
All my PC's run Arch Linux and my backend is Phonon VLC (same setup on all, if that matters). My LAN is a wired Gigabit Ethernet. The problem I am having is that the receivers are out of sync by a very noticeable amount -- a full second or two.
All computers on my LAN use ntp and all show that they are synchronized and accurate:
sudo timedatectl status
System clock synchronized: yes
NTP service: active
My current setup is very simple for testing right now:
sender
pactl load-module module-null-sink sink_name=rtpsink1
pactl load-module module-rtp-send source=rtpsink1.monitor
pactl load-module module-combine-sink sink_name=rtp1combined slaves=abcd,wxyz
receivers
pactl load-module module-rtp-recv
All computers, including the sender, are playing audio. If I stand in a central location where I can here them all, none of them are in sync. The difference can be as great as at least a full second (maybe more).
networking audio pulseaudio multicast
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am streaming music from a single controlling PC ("sender") to multiple PCs (receivers) on my LAN as described here:
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#index2h3
All my PC's run Arch Linux and my backend is Phonon VLC (same setup on all, if that matters). My LAN is a wired Gigabit Ethernet. The problem I am having is that the receivers are out of sync by a very noticeable amount -- a full second or two.
All computers on my LAN use ntp and all show that they are synchronized and accurate:
sudo timedatectl status
System clock synchronized: yes
NTP service: active
My current setup is very simple for testing right now:
sender
pactl load-module module-null-sink sink_name=rtpsink1
pactl load-module module-rtp-send source=rtpsink1.monitor
pactl load-module module-combine-sink sink_name=rtp1combined slaves=abcd,wxyz
receivers
pactl load-module module-rtp-recv
All computers, including the sender, are playing audio. If I stand in a central location where I can here them all, none of them are in sync. The difference can be as great as at least a full second (maybe more).
networking audio pulseaudio multicast
I am streaming music from a single controlling PC ("sender") to multiple PCs (receivers) on my LAN as described here:
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#index2h3
All my PC's run Arch Linux and my backend is Phonon VLC (same setup on all, if that matters). My LAN is a wired Gigabit Ethernet. The problem I am having is that the receivers are out of sync by a very noticeable amount -- a full second or two.
All computers on my LAN use ntp and all show that they are synchronized and accurate:
sudo timedatectl status
System clock synchronized: yes
NTP service: active
My current setup is very simple for testing right now:
sender
pactl load-module module-null-sink sink_name=rtpsink1
pactl load-module module-rtp-send source=rtpsink1.monitor
pactl load-module module-combine-sink sink_name=rtp1combined slaves=abcd,wxyz
receivers
pactl load-module module-rtp-recv
All computers, including the sender, are playing audio. If I stand in a central location where I can here them all, none of them are in sync. The difference can be as great as at least a full second (maybe more).
networking audio pulseaudio multicast
networking audio pulseaudio multicast
edited Sep 25 at 6:25
asked Sep 25 at 4:37
MountainX
4,7412369120
4,7412369120
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471229%2fpulseaudio-rtp-multicast-how-to-synchronize-audio-on-all-receivers%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password