Operating system latency Issues
[email protected] Wed, 9 Feb 2005 10:38:09 +0100
| Newsgroups | gmane.comp.lib.vovida.vocal |
|---|---|
| Message-ID | <[email protected]> |
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. As a result of this conclusion, I have tried creating a version of gua that configure real-time scheduling priority at the beginning of this application and all the problems above have disappeared. The modification that I made in gua version 1.5.0 consisted only in few lines of c code to configure real-time scheduling priority for the application at the beginning of itself. First of all, I would like to know if any of you have suffered this jitter problem earlier. Finally, the modification I made is really simple, I know it could be made in much better way but for my test purposes was enough, but it is not included in any way in the original version of gua, which works with normal scheduling priority, I would like to know if there is any reason unknown for me for not using this real-time scheduling technique. Apart from the necessity of running the application as root, Is it not a recommendable technique? Thanks in advance, Carlos. ________________________________________________________________________ L'integrite de ce message n'etant pas assuree sur Internet, la societe ne peut etre tenue responsable de son contenu. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. The integrity of this message cannot be guaranteed on the Internet. The society cannot therefore be considered responsible for the contents. If you are not the intended recipient of this message, then please delete it and notify the sender. _______________________________________________ vocal mailing list [email protected] To unsubscribe, please go to http://www.vovida.org/mailman/listinfo/vocal