streaming audio

Christian Tismer tismer at tismer.com
Tue Jun 18 16:38:26 CEST 2002


Bill Tate wrote:
> Rob Brown-Bayliss <rob at zoism.org> wrote in message news:<mailman.1020652989.23833.python-list at python.org>...
> 
>>Hi, 
>>
>>I am looking for some information on the basics of audio streaming, or
>>any sort of data streaming really.

...

> A typical model used in network programming is to use one thread per
> socket.   For you situation, you may wish to consider an alternative
> to threads that is lighter-weight, can be instantiated quickly and
> which can be stopped and restarted with ease.  If you will be
> processing many client requests for different audio files, you might
> check out the story behind the reincarnation of stackless (and
> continuations in particular).  Continuations offer some advantages
> well suited to media streaming.  They are extremely lightweight, can
> be quickly instantiated, there is no "real" limit on their numbers,
> they can be stopped and restarted with ease, and work extremely well
> with sockets.  I can't speak to how the reinvented stackless works
> with python 2.2 but others may have suggestions on other alternatives.
>  At the very lest, its would be worth familarizing yourself with the
> background on stackless and why it was created.

Saw this message a little late...

Stackless is going to support async I/O for a wide range of
operating systems. This is the next major goal to achieve.
Currently, we are trying to design a most protable, but
also most effective solution. Using kqueue where it is
available, falling back to select where necessary...

ciao - chris

-- 
Christian Tismer             :^)   <mailto:tismer at tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34  home +49 30 802 86 56  pager +49 173 24 18 776
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/







More information about the Python-list mailing list