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/src/pjmedia/session.c

    r2394 r2844  
    858858#endif 
    859859 
     860PJ_DEF(pj_status_t) pjmedia_session_get_stream_stat_jbuf( 
     861                                            pjmedia_session *session, 
     862                                            unsigned index, 
     863                                            pjmedia_jb_state *state) 
     864{ 
     865    PJ_ASSERT_RETURN(session && state && index < session->stream_cnt,  
     866                     PJ_EINVAL); 
     867 
     868    return pjmedia_stream_get_stat_jbuf(session->stream[index], state); 
     869} 
     870 
    860871/* 
    861872 * Dial DTMF digit to the stream, using RFC 2833 mechanism. 
Note: See TracChangeset for help on using the changeset viewer.