[pulseaudio-discuss] RTP streaming problem

Colin Guthrie gmane at colin.guthr.ie
Thu Nov 27 09:24:26 PST 2008

Alberto Sánchez Molero wrote:
> Hi, I'm trying to set up an streaming server for my LAN using 
> pulseaudio's rtp-send module. I'd like to stream songs played with 
> mplayer (using ALSA, I don't have the pulseaudio patch for mplayer) and 
> voice from the microphone through my LAN, but using load-module 
> module-rtp-send destination=" <>" 
> port="50220" loop="true" (and also loop="false") only streams audio from 
> microphone. What can I do for streaming audio from ALSA applications?
> Thanks in advance.

You need to tell pulse which sink to use when playing in mplayer.

In theory, this should just be a matter of playing your tune, running 
pavucontrol, and then using the menu on the running stream (sould have 
mplayer and alsa in the stream name) to "move stream" to the RTP sink.

You can also set the environment variable PULSE_SINK accordingly.

I've not played too much with the RTP stuff so it may be that it needs 
to piggy back onto another sink or something... can't remember off 
hand... I usually use the paprefs option to enable RTP.



Colin Guthrie

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]

More information about the pulseaudio-discuss mailing list