[Asterisk-Dev] MeetMe Improvement

Mike Mitchell mike.mitchell at missionmode.com
Tue Jul 6 13:44:40 MST 2004


> On 06/07/04 18:20, Jeremy McNamara wrote:
>
>> Ok Mr. Smart guy, show us how to mix audio without a 1000hz interrupt.
>>
>> Every Conference application i've ever seen (even outside of asterisk)
>> requires an interrupt.
>
> This blatantly isn't required. You accept that conferencing will 
> introduce
> a small delay (which you need anyway to de-jitter the UDP packets), 
> write
> the streams into circular buffers, and mix these buffers down 20ms 
> later.
> It's not exactly rocket science.
>
> I know that this works, because I'm running conferencing on my Java 
> IAX2
> stack across tens of simultaneous calls using nothing better than
> Thread.sleep() (which has a resolution of about 23ms on a 2.4 kernel).
>
> Best regards,
>
> Al

Thank you.  Also, the app_conference solution that as far as I can tell 
is the most visible 3rd party asterisk-based conferencing module, does 
NOT use a timer, either.  But I'd rather use something that's built in 
if possible.

/mike




More information about the asterisk-dev mailing list