[pulseaudio-discuss] Receiving RTP streams with pulseaudio
remi at remlab.net
Tue May 17 23:37:03 PDT 2011
On Tue, 17 May 2011 21:51:35 +0200, Michael Trunner <michael at trunner.de>
> I'm trying to setup Pulseaudio to receive RTP/Multicast steams. Sender
> should be vlc, (and receiver should be pulseaudio). I activated
> module-rtp-recv (and module-rtp-send) with papref, but I can't get it
> work. Can some one explain me what I have to do? Or how to debug it.
First you need to make sure that VLC uses an RTP payload format that
PulseAudio understands, typically L16/44100/2 (signed big endian 16-bits
stereo at 44100 Hz). By default, VLC will not decode the audio. Also make
sure SAP is enabled.
# vlc --sout-keep --no-sout-video --no-sout-spu \
Then you need to configure PulseAudio to use the standard SAP address as
specified in IETF RFC2974 §3, corresponding to the multicast scope that VLC
is configured to use, in particular:
- 18.104.22.168 (SAP.MCAST.NET) for global IPv4,
- ff0e::2:7ffe for global IPv6,
- 22.214.171.124 for link-local IPv4,
- ff02::2:7ffe for link-local IPv6.
By default, PulseAudio uses a proprietary non-standard SAP group, namely
126.96.36.199. This cannot interoperate with VLC.
More information about the pulseaudio-discuss