Ignore:
Timestamp:
Jul 29, 2009 12:14:21 PM (15 years ago)
Author:
bennylp
Message:

Ticket #923: New API to retrieve current jitter buffer state from a stream/session

  • added pjmedia_session_get_stream_stat_jbuf() and pjmedia_session_get_stream_stat_jbuf()
  • fixed const correctness in pjmedia_jbuf_get_state(), jb_framelist_size(), and pj_math_stat_get_stddev(),
  • modify the jitter buffer statistic log message printed by stream (it contains newlines)
File:
1 edited

Legend:

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

    r2394 r2844  
    270270 * Get session statistics. The stream statistic shows various 
    271271 * indicators such as packet count, packet lost, jitter, delay, etc. 
     272 * See also #pjmedia_session_get_stream_stat_jbuf() 
    272273 * 
    273274 * @param session       The media session. 
     
    300301#endif 
    301302 
     303 
     304/** 
     305 * Get current jitter buffer state for the specified stream. 
     306 * See also #pjmedia_session_get_stream_stat() 
     307 * 
     308 * @param session       The media session. 
     309 * @param index         Stream index. 
     310 * @param state         Jitter buffer state. 
     311 * 
     312 * @return              PJ_SUCCESS on success. 
     313 */ 
     314PJ_DECL(pj_status_t) pjmedia_session_get_stream_stat_jbuf( 
     315                                            pjmedia_session *session, 
     316                                            unsigned index, 
     317                                            pjmedia_jb_state *state); 
    302318 
    303319/** 
Note: See TracChangeset for help on using the changeset viewer.