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

The name of the pictureThe name of the pictureThe name of the pictureClash 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).










share|improve this question



























    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).










    share|improve this question

























      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).










      share|improve this question















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 25 at 6:25

























      asked Sep 25 at 4:37









      MountainX

      4,7412369120




      4,7412369120

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          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



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          Peggy Mitchell

          The Forum (Inglewood, California)

          Palaiologos