Skip to content

pulseaudio-rtp no sound

Description:

When streaming audio via the module-rtp-sendand module-rtp-receive modules no audio is played.

Logs on the receiving end:

I: [pulseaudio] module.c: Loaded "module-rtp-recv" (index: #20; argument: "").
I: [pulseaudio] client.c: Freed 3 "UNIX socket client"

Open pulseaudio ports on the receiving machine:

$ ss -tunlp | grep -e pulseaudio -e Netid
Netid          State           Recv-Q          Send-Q                                            Local Address:Port                      Peer Address:Port          Process                                         
udp            UNCONN          0               0                                                    224.0.0.56:37670                          0.0.0.0:*              users:(("pulseaudio",pid=1536,fd=21))  

The logs from the sending machine are attached.

I expect the issue to be on the receiving end, because streaming audio to a fixed port and an unicast ip works as expected when playing the stream via vlc.

Additional info:

Applying the commit 8ef0d597a1561ee9988dc31f04925e4412d69957 fixed the issue for me. (I also applied commit 84f5b742e39ba3e375bac9144e0243b7331f4019 for a failing cpu-volume-test)

I didn't flag the package as out-of-date, because there is no pulseaudio 17.x version with the patch available. If opening a bug isn't the correct way to handle the issue, please let me know.

Steps to reproduce:

Follow the documentation for setting up streaming audio via rtp:

  1. Setup rtp on the sending side:
    pacmd load-module module-null-sink sink_name=rtp
    pacmd load-module module-rtp-send source=rtp.monitor
    pacmd set-default-sink rtp
  2. Setup rtp on the receiving side:
    pacmd load-module module-rtp-recv
  3. Play audio on sender.

Cheers, Claas

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information