[asterisk-bugs] [Asterisk 0014044]: [patch] Jitterbuffer stops accepting new frames until it is empty after maxjitterbuffer is exceeded.
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 10 12:18:30 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14044
======================================================================
Reported By: mnicholson
Assigned To: mnicholson
======================================================================
Project: Asterisk
Issue ID: 14044
Category: Core/Jitterbuffer
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 162139
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2008-12-09 12:16 CST
Last Modified: 2009-02-10 12:18 CST
======================================================================
Summary: [patch] Jitterbuffer stops accepting new frames
until it is empty after maxjitterbuffer is exceeded.
Description:
Once the jitterbuffer exceeds maxjitterbuffer it stops accepting new frames
until the buffer is emptied. This can cause large audio dropouts.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0012575 IAX forcejitterbuffer + maxjitterbuffer
======================================================================
----------------------------------------------------------------------
(0099818) svnbot (reporter) - 2009-02-10 12:18
http://bugs.digium.com/view.php?id=14044#c99818
----------------------------------------------------------------------
Repository: asterisk
Revision: 174590
_U branches/1.6.1/
U branches/1.6.1/main/jitterbuf.c
------------------------------------------------------------------------
r174590 | mnicholson | 2009-02-10 12:18:30 -0600 (Tue, 10 Feb 2009) | 32
lines
Merged revisions 174584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r174584 | mnicholson | 2009-02-10 12:16:31 -0600 (Tue, 10 Feb 2009) | 25
lines
Merged revisions 174583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r174583 | mnicholson | 2009-02-10 11:52:42 -0600 (Tue, 10 Feb 2009) |
18 lines
Improve behavior of jitterbuffer when maxjitterbuffer is set.
This change improves the way the jitterbuffer handles maxjitterbuffer
and
dramatically reduces the number of frames dropped when maxjitterbuffer
is
exceeded. In the previous jitterbuffer, when maxjitterbuffer was
exceeded, all
new frames were dropped until the jitterbuffer is empty. This change
modifies
the code to only drop frames until maxjitterbuffer is no longer
exceeded.
Also, previously when maxjitterbuffer was exceeded, dropped frames
were not
tracked causing stats for dropped frames to be incorrect, this change
also
addresses that problem.
(closes issue http://bugs.digium.com/view.php?id=14044)
Patches:
bug14044-1.diff uploaded by mnicholson (license 96)
Tested by: mnicholson
Review: http://reviewboard.digium.com/r/144/
........
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=174590
Issue History
Date Modified Username Field Change
======================================================================
2009-02-10 12:18 svnbot Checkin
2009-02-10 12:18 svnbot Note Added: 0099818
======================================================================
More information about the asterisk-bugs
mailing list