Changeset 1942 for pjproject/trunk/pjmedia/include/pjmedia/rtcp.h
- Timestamp:
- Apr 28, 2008 6:05:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/rtcp.h
r1444 r1942 26 26 27 27 #include <pjmedia/types.h> 28 #include <pjmedia/rtcp_xr.h> 28 29 #include <pjmedia/rtp.h> 29 30 … … 247 248 #endif 248 249 249 250 250 /** 251 251 * RTCP session is used to monitor the RTP session of one endpoint. There … … 255 255 { 256 256 char *name; /**< Name identification. */ 257 pjmedia_rtcp_sr_pkt rtcp_sr_pkt;/**< Cached RTCP packet. */257 pjmedia_rtcp_sr_pkt rtcp_sr_pkt;/**< Cached RTCP SR packet. */ 258 258 pjmedia_rtcp_rr_pkt rtcp_rr_pkt;/**< Cached RTCP RR packet. */ 259 259 … … 282 282 */ 283 283 PJMEDIA_AVG_JITTER_TYPE avg_jitter; /**< Average RX jitter. */ 284 285 #if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) 286 /** 287 * Specify whether RTCP XR processing is enabled on this session. 288 */ 289 pj_bool_t xr_enabled; 290 291 /** 292 * RTCP XR session, only valid if RTCP XR processing is enabled 293 * on this session. 294 */ 295 pjmedia_rtcp_xr_session xr_session; 296 #endif 284 297 }; 285 298 … … 343 356 344 357 /** 358 * Call this function everytime an RTP packet is received to let the RTCP 359 * session do its internal calculations. 360 * 361 * @param session The session. 362 * @param seq The RTP packet sequence number, in host byte order. 363 * @param ts The RTP packet timestamp, in host byte order. 364 * @param payload Size of the payload. 365 * @param discarded Flag to specify whether the packet is discarded. 366 */ 367 PJ_DECL(void) pjmedia_rtcp_rx_rtp2(pjmedia_rtcp_session *session, 368 unsigned seq, 369 unsigned ts, 370 unsigned payload, 371 pj_bool_t discarded); 372 373 374 /** 345 375 * Call this function everytime an RTP packet is sent to let the RTCP session 346 376 * do its internal calculations. … … 386 416 387 417 /** 418 * Call this function if RTCP XR needs to be enabled/disabled in the 419 * RTCP session. 420 * 421 * @param session The RTCP session. 422 * @param enable Enable/disable RTCP XR. 423 * 424 * @return PJ_SUCCESS on success. 425 */ 426 PJ_DECL(pj_status_t) pjmedia_rtcp_enable_xr( pjmedia_rtcp_session *session, 427 pj_bool_t enable); 428 429 430 /** 388 431 * @} 389 432 */
Note: See TracChangeset
for help on using the changeset viewer.