Re: esd



On  2 Jan, Pedro Corte-Real scribbled:
->  
->  I was wondering...
->  
->  Is it possible to use esd to play audio from one computer to another. This
->  would be real cool because I could do things like hearing the cd's I play
->  in my portable with decent audio by using my pc's sound capabilities.

yup - esad handles this.

one example:

mpg123 -s file.mp3 | esdcat -s other.machine.name

the "other.machine.name" needs to be runing esd and you need permission
to esd on that machine. this means the contents of ~/.esd_auth must be
the same (ie just like ~/.Xauthroity) - this is the auth key (the user
who ran esd gets an auth key and only those wiht the auth key
canconnect to esd) you can do the equivalent of xhost + and - wiht
esdctl unlock and lock.

but yes - its perfectly possible :)

->  For what I can observe esd already listens on a port so all I have to do
->  is make the aps looks for esd not only in the local machine but in my
->  network also.
->  
->  Is this very hard to do?

nup. see above.

->  Would this eat up too much bandwidth? 

44.1Khz 16bit stereo will need about 170Kb/sec.

->  Would this cause security issues?

not if you share the auth key and not flagratly use "esdctl unlock"

->  I can find cool apliances for this like doing a small chat app that would
->  just connect to the listener's esd to play the sound. 

alrady did this before in scripts :) works :)

->  Possibly we'd have to have a /etc/esd.access to state who can connect to
->  esd.
->  
->  Am I still stable or is this I just wrote a major mind core dump? hehe
->  
->  

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com       /\___ /\ ___/||\___ ____/|/\___  raster@redhat.com
Carsten Haitzler           | _ //__\\ __||_ __\\ ___|| _ /  Red Hat Advanced
218/21 Conner Drive        || // __ \\_ \ | |   \ _/_|| /   Development Labs
Chapel Hill NC 27514 USA   ||\\\/  \//__/ |_|   /___/||\\   919 547 0012 ext 282
+1 (919) 929 9443, 801 4392   For pure Enlightenment   http://www.rasterman.com/

              \|/ ____ \|/  For those of you unaware. This face here is in fact
	      "@'/ ,. \@"   a Linux Kernel Error Message.
	      /_| \__/ |_\
		 \__U_/
							   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]