Changeset 436


Ignore:
Timestamp:
May 11, 2006 2:32:26 PM (19 years ago)
Author:
bennylp
Message:

Fixed bugs: stream should give to jitter buffer the extended/32bit sequence number instead of raw 16bit sequence number from RTP, to handle the sequence wrapping case, and added options in jbuf to behave as fixed buffer, and added extra frame type for jitter buffer returned frame.

Location:
pjproject/trunk/pjmedia
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/jbuf.h

    r435 r436  
    220220 
    221221/** 
    222  * Get jitter buffer state. 
     222 * Get jitter buffer current state/settings. 
    223223 * 
    224224 * @param jb            The jitter buffer. 
  • pjproject/trunk/pjmedia/src/pjmedia/jbuf.c

    r435 r436  
    522522     * the frame could be a blank frame! 
    523523     */ 
    524     if (ftype == PJMEDIA_JB_NORMAL_FRAME) { 
     524    if (ftype == PJMEDIA_JB_NORMAL_FRAME)  
    525525        *p_frame_type   = PJMEDIA_JB_NORMAL_FRAME; 
    526     } else { 
     526    else  
    527527        *p_frame_type   = PJMEDIA_JB_MISSING_FRAME; 
    528     } 
     528     
    529529 
    530530    return PJ_SUCCESS; 
Note: See TracChangeset for help on using the changeset viewer.