diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-19 00:34:28 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-19 00:34:28 +0000 |
commit | a84d39781c293a131b6ae9c6ea63bc00f8b69982 (patch) | |
tree | 28da8caf914873bb7d3ecf42261e790984e8f049 /jitterbuf.h | |
parent | d11f57ef942239a8e308c4b0bbd6c049df5060ac (diff) |
More jitter buffer fixes for large resync (bug #4311)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5719 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'jitterbuf.h')
-rwxr-xr-x | jitterbuf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jitterbuf.h b/jitterbuf.h index 839120290..1cec72643 100755 --- a/jitterbuf.h +++ b/jitterbuf.h @@ -67,9 +67,13 @@ typedef struct jb_info { long last_voice_ms; /* the duration of the last voice frame */ long silence_begin_ts; /* the time of the last CNG frame, when in silence */ long last_adjustment; /* the time of the last adjustment */ + long last_delay; /* the last now added to history */ + long cnt_delay_discont; /* the count of discontinuous delays */ + long resync_offset; /* the amount to offset ts to support resyncs */ /* settings */ long max_jitterbuf; /* defines a hard clamp to use in setting the jitter buffer delay */ + long resync_threshold; /* the jb will resync when delay increases to (2 * jitter) + this param */ } jb_info; typedef struct jb_frame { |