Changeset 3359


Ignore:
Timestamp:
Oct 29, 2010 3:27:17 AM (13 years ago)
Author:
nanang
Message:

Misc (re #1151): fixed jitter buffer state 'jb_max_burst' initialization, MAX_BURST_MSEC should be converted to number-of-frame unit (thanks Zhefeng Du for the fix).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/jbuf.c

    r3162 r3359  
    477477    jb->jb_max_count     = max_count; 
    478478    jb->jb_min_shrink_gap= MIN_SHRINK_GAP_MSEC / ptime; 
    479     jb->jb_max_burst     = PJ_MAX(MAX_BURST_MSEC, max_count*3/4); 
     479    jb->jb_max_burst     = PJ_MAX(MAX_BURST_MSEC / ptime, max_count*3/4); 
    480480    jb->jb_last_discard_seq = 0; 
    481481 
Note: See TracChangeset for help on using the changeset viewer.