summaryrefslogtreecommitdiff
path: root/jitterbuf.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-05-19 00:34:28 +0000
committerMark Spencer <markster@digium.com>2005-05-19 00:34:28 +0000
commit9272e1f68a84cd47b2b8b5a481c0a3e8e8534c4b (patch)
tree28da8caf914873bb7d3ecf42261e790984e8f049 /jitterbuf.h
parent334fcaa369044a70eda6b7f6a4434fce45cc396e (diff)
More jitter buffer fixes for large resync (bug #4311)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'jitterbuf.h')
-rwxr-xr-xjitterbuf.h4
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 {