Re: [linux-audio-dev] It's time to vote (n. 1)

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] It's time to vote (n. 1)
From: Adriaan Pelzer (adriaan_AT_trispen.com)
Date: Fri May 25 2001 - 10:29:37 EEST


Sounds good...

Only danger with UDP is when you have a bottleneck somewhere (receiving side
slower than sending side) you might drop packets.
Don't think it will be a problem with audio though...

I've played with the libnet libraries (allow you to build raw packets) but I
think what we need here is libpcap.

I'll check it out some time. (With both it's actually possible to write a
protocol on UDP doing the throttling but then we're heading TCP way)

Regards,

Adriaan Pelzer

On 25-May-01 Vincent Touquet wrote:
> The protocol they use in Disneyland is a protocol over ethernet developed by
> Peak Audio (TM).
> Homepage: http://www.peakaudio.com/CobraNet
> Some place where you can hear their stuff:
> http://www.peakaudio.com/CobraNet/Installations
>
> Note that indeed using TCP on a local LAN is an overkill for this stuff. UDP
> is
> good enough (packets don't get dropped on your local LAN, unless you have a
> very busy network, or flakey hardware).
>
> We could test audio over UDP using netcat (there are certainly also netcat
> sources and binaries for Solaris ;-) !!!
>
> You can netcat a raw audio file to a port on another host.
> See http://www.l0pht.com/~weld/netcat/readme.html
> See also http://www.l0pht.com/~weld/netcat/readment.txt for more example
> usage
> Type something like
> nc -u -n other_computer 3000 < soundfile
> on the computer you are sending the audio from. [-u specifies transfer over
> UDP]
>
> On other_computer, you can make netcat listen on that port and spawn a
> program
> to receive the data which netcat receives on that port (and play the audio !)
> nc -l -p 3000 -e receiving_prog
>
> Damnit, I just haven't got the time nor right computers here to test it :(
> If anyone tries it, be sure to post it on the mailinglist (cursed areth thou
> who not posteth on the ladlist ;-) if it works out or not (not sure if
> receiving_prog could handle the received data etc. [what form that data is in
> when it comes up at other_computer])
>
> Note: if it doesn't work out perfectly, note that these protcols where not
> specifically made for these applications. I'm sure we could come up with our
> own audio-protocol over ethernet. I'm not saying it would be simple, but it
> certainly is feasible. Nice, another project for the summer :P
>
> Regards
> Vincent

----------------------------------
E-Mail: Adriaan Pelzer <adriaan_AT_trispen.com>
Date: 25-May-01
Time: 09:24:16

This message was sent by XFMail
----------------------------------


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri May 25 2001 - 12:02:48 EEST