WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

rtcp_xr.h File Reference

RTCP XR implementation. More...

Data Structures

struct  pjmedia_rtcp_xr_rb_header
 
struct  pjmedia_rtcp_xr_rb_rr_time
 
struct  pjmedia_rtcp_xr_rb_dlrr_item
 
struct  pjmedia_rtcp_xr_rb_dlrr
 
struct  pjmedia_rtcp_xr_rb_stats
 
struct  pjmedia_rtcp_xr_rb_voip_mtc
 
struct  pjmedia_rtcp_xr_pkt
 
struct  pjmedia_rtcp_xr_stream_stat
 
struct  pjmedia_rtcp_xr_stat
 
struct  pjmedia_rtcp_xr_session
 

Macros

#define PJMEDIA_RTCP_XR_BUF_SIZE
 

Enumerations

enum  pjmedia_rtcp_xr_type {
  PJMEDIA_RTCP_XR_LOSS_RLE = (1 << 0) ,
  PJMEDIA_RTCP_XR_DUP_RLE = (1 << 1) ,
  PJMEDIA_RTCP_XR_RCPT_TIMES = (1 << 2) ,
  PJMEDIA_RTCP_XR_RR_TIME = (1 << 3) ,
  PJMEDIA_RTCP_XR_DLRR = (1 << 4) ,
  PJMEDIA_RTCP_XR_STATS = (1 << 5) ,
  PJMEDIA_RTCP_XR_VOIP_METRICS = (1 << 6)
}
 
enum  pjmedia_rtcp_xr_info {
  PJMEDIA_RTCP_XR_INFO_SIGNAL_LVL = 1 ,
  PJMEDIA_RTCP_XR_INFO_NOISE_LVL = 2 ,
  PJMEDIA_RTCP_XR_INFO_RERL = 3 ,
  PJMEDIA_RTCP_XR_INFO_R_FACTOR = 4 ,
  PJMEDIA_RTCP_XR_INFO_MOS_LQ = 5 ,
  PJMEDIA_RTCP_XR_INFO_MOS_CQ = 6 ,
  PJMEDIA_RTCP_XR_INFO_CONF_PLC = 7 ,
  PJMEDIA_RTCP_XR_INFO_CONF_JBA = 8 ,
  PJMEDIA_RTCP_XR_INFO_CONF_JBR = 9 ,
  PJMEDIA_RTCP_XR_INFO_JB_NOM = 10 ,
  PJMEDIA_RTCP_XR_INFO_JB_MAX = 11 ,
  PJMEDIA_RTCP_XR_INFO_JB_ABS_MAX = 12
}
 
enum  pjmedia_rtcp_xr_plc_type {
  PJMEDIA_RTCP_XR_PLC_UNK = 0 ,
  PJMEDIA_RTCP_XR_PLC_DIS = 1 ,
  PJMEDIA_RTCP_XR_PLC_ENH = 2 ,
  PJMEDIA_RTCP_XR_PLC_STD = 3
}
 
enum  pjmedia_rtcp_xr_jb_type {
  PJMEDIA_RTCP_XR_JB_UNKNOWN = 0 ,
  PJMEDIA_RTCP_XR_JB_FIXED = 2 ,
  PJMEDIA_RTCP_XR_JB_ADAPTIVE = 3
}
 

Functions

void pjmedia_rtcp_build_rtcp_xr (pjmedia_rtcp_xr_session *session, unsigned rpt_types, void **rtcp_pkt, int *len)
 
pj_status_t pjmedia_rtcp_xr_update_info (pjmedia_rtcp_xr_session *session, unsigned info, pj_int32_t val)
 
void pjmedia_rtcp_xr_init (pjmedia_rtcp_xr_session *session, struct pjmedia_rtcp_session *r_session, pj_uint8_t gmin, unsigned frames_per_packet)
 
void pjmedia_rtcp_xr_fini (pjmedia_rtcp_xr_session *session)
 
void pjmedia_rtcp_xr_rx_rtcp_xr (pjmedia_rtcp_xr_session *session, const void *rtcp_pkt, pj_size_t size)
 
void pjmedia_rtcp_xr_rx_rtp (pjmedia_rtcp_xr_session *session, unsigned seq, int lost, int dup, int discarded, int jitter, int toh, pj_bool_t toh_ipv4)
 
void pjmedia_rtcp_xr_tx_rtp (pjmedia_rtcp_xr_session *session, unsigned ptsize)
 

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.