Re: Operating system latency Issues

Ben Greear <[email protected]> Fri, 11 Feb 2005 10:27:01 -0800
Newsgroups gmane.comp.lib.vovida.vocal
Organization Candela Technologies
Message-ID <[email protected]>
[email protected] wrote:
> Hi all,
> 
>   For some time I have been testing gua against other SIP user agents like
>   linphone, Kphone and Xlite.
> 
>   During these tests I have found a great audio jitter (delay variation)
>   during the same call in gua reception side. At the beginning of the call
>   the delay is about several milliseconds but little by little it is
>   increasing up to more than 3 seconds and suddenly it turns back to the
>   original delay and goes on increasing again and so on. I have tried to
>   know what was going on and I have found that the cause of the problem is
>   the operating system latency which obviously is higher when gua is run
>   from the Xs environment, where the latency can be up to 150 milliseconds
>   when I run the system monitor at the same time.

It is likely that the real bug is that somewhere in the GUA code there is
a milisleep(20).  This should instead calculate the time to sleep based on
how long it is from *NOW* to the next event, understanding that milisleep(X)
often sleeps slightly longer than just X.

Ben

-- 
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
vocal mailing list
[email protected]
To unsubscribe, please go to http://www.vovida.org/mailman/listinfo/vocal