[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 11:52:44 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:                     ready for testing
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 162139 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-09 12:16 CST
Last Modified:              2009-02-10 11:52 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
====================================================================== 

---------------------------------------------------------------------- 
 (0099814) svnbot (reporter) - 2009-02-10 11:52
 http://bugs.digium.com/view.php?id=14044#c99814 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 174583

U   branches/1.4/main/jitterbuf.c

------------------------------------------------------------------------
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=174583 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-10 11:52 svnbot         Checkin                                      
2009-02-10 11:52 svnbot         Note Added: 0099814                          
======================================================================




More information about the asterisk-bugs mailing list