I'm having a sound quality issue related to jitter with sipxtapi.
Essentially, when I've got a session established with an RTP stream
going through sipxmedialib, I'm hearing an extreme delay for any sound
that I make that follows a previous sound by about 1 second.   If the
gap is less than that, say, 0.25 seconds, then there is no delay.  If
the gap is more than that, say, 2 seconds, then there is no delay.  Only
if the gap is around 1 second do I experience this extreme delay.

For example:

If I say "1,2,3,4,5,6" in an unbroken sequence, then on the other end of
the RTP stream, I hear "1,2,3,4,5,6" with very minimal lag
(milliseconds).  Which is good.

If I say "1,2,3---4,5,6" with the "---" indicating an approximately 1
second pause in my speech, I hear "1,2,3", then about 5 seconds of
silence, and then "4-5-6" in a very rapid and compressed sequence.

If I say "1,2,3,--------4,5,6" with the "--------" indicating more than
2 seconds of pause in my speech, then I hear "1,2,3", then the same 2+
seconds of pause, and then "4,5,6" at the original tempo (in other
words, everything sounds ok).

Now, I'm doing something a little special, and perhaps that's a clue as
to what is going on.   As I've mentioned in some previous conversations
with Alexander and Paulo, I'm creating a sip call to an external source,
and then I'm using sipxmedialib api calls to 'splice' an extra
connection into the flow-graph of the existing media connection.

Here's a crude ASCII graphic of what is going on:

                RTP Stream                              RTP Stream
(combined main and secondary)
Main Source ------------------[sipxmedia flow
graph]--------------------------------- Destination
                                  /
                                 /
Secondary ______________________/
Source          RTP Stream


An interesting extra clue regarding this issue.   I only have this delay
issue on the RTP stream flowing to the 'right' in the above diagram.  I
don't have this issue on the RTP data flowing back 'left'.

Does anyone have any ideas as to what might be going on?   The RTP
stream's source (both of them) and the location of the sipx call and
media handling are on the same box -- there is no significant network
latency here.  Also, I've got VAD on the incoming RTP streams turned off
I've got a constant flow of packets coming from the sources.  (in fact,
I've tried it both on and off).  

Is there perhaps some jitter configuration setting that I can tweak that
might help me address this issue?


Any help, even the smallest hint, is most appreciated.

Thanks,
Andrew
_______________________________________________
sipxtapi-dev mailing list
sipxtapi-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to