[Twisted-Python] Re: reactor.callLater ponderings (what i am trying to do) :)
anthony at interlink.com.au
Mon Dec 15 01:08:40 EST 2003
>>> jjanecek at telusplanet.net wrote
> Anyway in a nutshell i am making an rtp stack.
> for the recieving part no problem.
> Why I made the little clocking test program is because for rtp packets the
> timing is very important. For audio the packet length is ussually 20ms.
> I wanted to process the call inside a thread just because sometimes it has to
> wait to read from the audio input. Surprisingly enuff it does not really make
> that much difference if I call in thread or not.
Been there, done that. See the Shtoom project at shtoom.sf.net. You
don't need to put it in a thread - indeed, I'd suspect that putting it
in a thread would give worse behaviour, because of the context switching.
Anthony Baxter <anthony at interlink.com.au>
It's never too late to have a happy childhood.
More information about the Twisted-Python