Changeset 3442


Ignore:
Timestamp:
Mar 15, 2011 5:07:01 AM (14 years ago)
Author:
ming
Message:

Closed #1206: Add pjmedia_stream API to get the last frame type retrieved from the jitter buffer.

Location:
pjproject/trunk/pjmedia
Files:
2 edited

Legend:

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

    r3327 r3442  
    185185 
    186186/** 
     187 * Get the last frame type retreived from the jitter buffer. 
     188 * 
     189 * @param stream        The media stream. 
     190 * 
     191 * @return              Jitter buffer frame type. 
     192 */ 
     193PJ_DEF(char) pjmedia_stream_get_last_jb_frame_type(pjmedia_stream *stream); 
     194 
     195 
     196/** 
    187197 * Get the media port interface of the stream. The media port interface 
    188198 * declares put_frame() and get_frame() function, which is the only  
  • pjproject/trunk/pjmedia/src/pjmedia/stream.c

    r3416 r3442  
    24602460 
    24612461 
     2462/* 
     2463 * Get the last frame frame type retreived from the jitter buffer. 
     2464 */ 
     2465PJ_DEF(char) pjmedia_stream_get_last_jb_frame_type(pjmedia_stream *stream) 
     2466{ 
     2467    return stream->jb_last_frm; 
     2468} 
     2469 
    24622470 
    24632471/* 
Note: See TracChangeset for help on using the changeset viewer.