Ignore:
Timestamp:
Jul 17, 2008 2:54:03 PM (13 years ago)
Author:
nanang
Message:

Added ability to dump extended statistics (RTCP XR) in pjsua.

File:
1 edited

Legend:

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

    r2077 r2152  
    822822 
    823823/* 
     824 * Get extended statistics 
     825 */ 
     826PJ_DEF(pj_status_t) pjmedia_session_get_stream_stat_xr( 
     827                                             pjmedia_session *session, 
     828                                             unsigned index, 
     829                                             pjmedia_rtcp_xr_stat *stat_xr) 
     830{ 
     831    PJ_ASSERT_RETURN(session && stat_xr && index < session->stream_cnt,  
     832                     PJ_EINVAL); 
     833 
     834    return pjmedia_stream_get_stat_xr(session->stream[index], stat_xr); 
     835} 
     836 
     837 
     838/* 
    824839 * Dial DTMF digit to the stream, using RFC 2833 mechanism. 
    825840 */ 
Note: See TracChangeset for help on using the changeset viewer.