Ignore:
Timestamp:
Apr 29, 2008 5:15:41 PM (16 years ago)
Author:
nanang
Message:

More on ticket #513:

  • Added RTCP XR print reports to streamutil.c
  • Added new API pjmedia_stream_get_stat_xr()
  • Added field rtcp_xr_enabled to stream info structure
  • Swapped the wrong RTCP XR statistic storage (encoding direction should be stored in TX, decoding direction in RX, it was the opposite)
File:
1 edited

Legend:

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

    r1639 r1943  
    9696                                         sin_family is zero, the RTP address 
    9797                                         will be calculated from RTP.       */ 
     98#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) 
     99    pj_bool_t           rtcp_xr_enabled; 
     100                                    /**< Specify whether RTCP XR is enabled.*/ 
     101#endif 
    98102    pjmedia_codec_info  fmt;        /**< Incoming codec format info.        */ 
    99103    pjmedia_codec_param *param;     /**< Optional codec param.              */ 
     
    207211                                              pjmedia_rtcp_stat *stat); 
    208212 
     213#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) 
     214/** 
     215 * Get the stream extended report statistics (RTCP XR). 
     216 * 
     217 * @param stream        The media stream. 
     218 * @param stat          Media stream extended report statistics. 
     219 * 
     220 * @return              PJ_SUCCESS on success. 
     221 */ 
     222PJ_DECL(pj_status_t) pjmedia_stream_get_stat_xr( const pjmedia_stream *stream, 
     223                                                 pjmedia_rtcp_xr_stat *stat); 
     224#endif 
     225 
    209226/** 
    210227 * Pause the individual channel in the stream. 
Note: See TracChangeset for help on using the changeset viewer.