<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=607062109-28042008><FONT face=Arial
color=#0000ff size=2>as you can see here:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=607062109-28042008><FONT size=2>
<P></FONT><A href="http://jira.freeswitch.org/browse/MODENDP-40"><U><FONT
color=#0000ff
size=2>http://jira.freeswitch.org/browse/MODENDP-40</U></FONT></A></P>
<P><SPAN class=607062109-28042008><FONT face=Arial color=#0000ff size=2>i have
this problem all the time (the error mentioned in this issue was only related
with this).</FONT></SPAN></P>
<P><SPAN class=607062109-28042008><FONT face=Arial color=#0000ff size=2>It has
to do with windows handle sleep() method, you has say sleep(1) for 1ms but on
my</FONT></SPAN></P>
<P><SPAN class=607062109-28042008><FONT face=Arial color=#0000ff size=2>machine
it waits 15ms (it depends on your hardware, other PCs behave different!). So i
tested around with high performance counters.</FONT></SPAN></P>
<P><SPAN class=607062109-28042008><FONT face=Arial color=#0000ff size=2>For now
i ignore that problem an set jitterbuffers on other device big
enough.</FONT></SPAN></P>
<P><SPAN class=607062109-28042008><FONT face=Arial color=#0000ff
size=2>Thomas</FONT></SPAN></P></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <B>Im Auftrag von
</B>Zelei Csaba<BR><B>Gesendet:</B> Donnerstag, 24. April 2008
19:05<BR><B>An:</B> freeswitch-users@lists.freeswitch.org<BR><B>Betreff:</B>
[Freeswitch-users] mod_portaudio send 3 rtp packet/60ms instead of1
packet/20ms<BR></FONT><BR></DIV>
<DIV></DIV>Dear all,<BR><BR>I tried to use FS in client mode, starting calls
with mod_portaudio to our providers gateway ( a Cirpack softswitch )<BR>I
experienced that there is 2-3 sec delay in the call, its choppy and robot
like.<BR>I tested it with a softphone, and an ip phone and everything was fine.
I traced back the problem to mod_portaudio sending 3 rtp packet in 60ms instead
of 1 packet/20ms.<BR><BR>Here is an rtp statistic from a call: (see <A
href="http://pastebin.freeswitch.org/4307">http://pastebin.freeswitch.org/4307</A>
for the complete list and sip trace)<BR><BR>Packet
Sequence Delta (ms) <BR>42
26138 0.00 <BR>43
26139 0.02 <BR>46
26140 45.69<BR>47 26141
0.02 <BR>48 26142
2.96 <BR>52 26143
56.31<BR>53 26144 5.75
<BR>54 26145 0.02
<BR>58 26146 51.99<BR>59
26147 0.03 <BR>60
26148 2.96 <BR>63
26149 42.95<BR>65 26150
17.06<BR>66 26151 0.02
<BR>67 26152 2.90
<BR>71 26153 56.99<BR>72
26154 0.03 <BR>73
26155 0.02 <BR><BR>Did anyone else
experience similar problems?<BR>Is this the desired behaviour, because portaudio
get data in 60ms interval or can I set it to 20ms
somehow?<BR><BR>Thanks,<BR><BR>Csaba Zelei<BR><BR><BR></BODY></HTML>