LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] reflecting an audio stream?

[ILUG] reflecting an audio stream?

Justin Mason jm at jmason.org
Fri Jul 6 18:17:29 IST 2007


David Golden writes:
> On Friday 06 July 2007, Seán O Sullivan wrote:
> > Very easy to do with vlc at least.
> > Probably easiest to use graphical interface to do what you want, and
> > once figure out how you want to do it, you could switch to cli
> > easily.
> >
> >
> Indeed, vlc can likely do this quite well. 
> 
> To offer an alternative solution that gives endless opportunity for 
> wasting time fiddling about with stuff, er, I  mean it's very 
> versatile:
> 
> 1. Have an icecast-server to service clients.
> 
> 2. Have JACK (magic local-machine-inter-process
> stream plumbing thingy for linux, rapidly becoming a 
> de-facto standard)
> 
> 3. Have a jack-enabled darkice (or similar) to upload
> whatever jack sends to the icecast server
> 
> 4. Have a jack-enabled mplayer (or whatever) to send
> what you want via jack to darkice and then to 
> the icecast server and then to the clients...

eek.

"esdmon" or (better) the ALSA "dsnoop" device, may do the trick;
I think they'll take a lot of hacking around.

Another (probably better) option is Pulseaudio:
http://pulseaudio.org/wiki/FAQ

  '# How can I use PulseAudio to stream music from my main PC to my LAN with
  multiple PCs with speakers?

  On the sender side create an RTP sink:

  load-module module-null-sink sink_name=rtp
  load-module module-rtp-send source=rtp.monitor
  set-default-sink rtp

  This will make rtp the default sink, i.e. all applications will write to
  this virtual RTP device by default. On the client sides just load the
  reciever module:

  load-module module-rtp-recv

  Now you can play your favourite music on the sender side and all clients
  will output it simultaneously. BTW: You can have more than one sender
  machine set up like this. The audio data will be mixed on the client
  side.'

There's lots of similar crazy multicast tricks on that page.

Let us know how you get on ;)

--j.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell