[pulseaudio-discuss] Help with receiving multicast

Jerry Geis jerry.geis at gmail.com
Sun Jan 8 02:07:06 UTC 2023


On Sat, Jan 7, 2023 at 5:09 AM Georg Chini <georg at chini.tk> wrote:

> Hi,
>
> do you have a loopback from rtpsink.monitor to your default sink? The null
> sink
> just discards the audio.
> pactl load-module module-loopback source=rtpsink.monitor
>
> Regards
>        Georg
>
> On 06.01.23 15:07, Jerry Geis wrote:
>
> Hi - Using ubuntu 20.04 LTS
>
>
> I have this in my startup:
> # Forward 11000 UDP to 9875 for pulse audio
> socat UDP4-RECVFROM:11000,fork UDP4-SENDTO:localhost:9875 &
>
> pacmd load-module module-null-sink sink_name=rtpsink format=s16be
> channels=1 rate=44100
> pacmd load-module module-rtp-recv sink=rtpsink sap_address=239.168.3.10
>
> Doing netstat -g shows
> IPv6/IPv4 Group Memberships
> Interface       RefCnt Group
> --------------- ------ ---------------------
> lo              1      224.0.0.251
> lo              1      all-systems.mcast.net
> eno1            1      239.168.3.10
> eno1            1      224.0.0.251
> eno1            1      all-systems.mcast.net
> wlo2            1      all-systems.mcast.net
> lo              1      ff02::fb
> lo              1      ip6-allnodes
> lo              1      ff01::1
> eno1            1      ff02::fb
> eno1            1      ff02::1:ff1f:6c0e
> eno1            1      ip6-allnodes
> eno1            1      ff01::1
> wlo2            1      ip6-allnodes
> wlo2            1      ff01::1
>
> But I do not hear any audio when I multicast from asterisk. There is
> another SIP speaker that receives the multicast but not my PC.
>
> What am I not doing correct ?
> Thanks
>
> Jerry
>
>
>

interesting - I removed the null-sink line - rebooted and tested and it
worked.
so all I have now is:

# Forward 11000 UDP to 9875 for pulse audio
socat UDP4-RECVFROM:11000,fork UDP4-SENDTO:localhost:9875 &

pacmd load-module module-rtp-recv sink=rtpsink sap_address=239.168.3.10

Thanks for the suggestion!

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20230107/12e74769/attachment.htm>


More information about the pulseaudio-discuss mailing list