[Tutor] Re: streaming audio

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Mon, 06 May 2002 15:29:10 +1000


>>> Rob Brown-Bayliss wrote
> I am looking for some information on the basics of audio streaming, or
> any sort of data streaming really.

Look into RTP, the basics of which are described in RFC 1889. There's
other RFCs that describe various payload formats for RTP. See also
the resources listed under
http://www.cs.columbia.edu/~hgs/rtp/


> I want to create an app to stream audio around a LAN and really have
> know Idea on where to start.

One thing to beware is that you may find Python unsuitable for the
actual streaming of the RTP packets. There are quite tight time
constraints to be met, and if you mess it up it's very very audible
to the end user. In my application (a unified messaging/voicemail
server), all of it is in python, except for a small C part that 
actually plays or records the audio packets to/from the net.

Anthony
-- 
Anthony Baxter     <anthony@interlink.com.au>   
It's never too late to have a happy childhood.