sipxmedialib  Version 3.3
Classes | Macros
RtpHeader.h File Reference
#include "os/OsIntTypes.h"
#include "mp/MpTypes.h"
Include dependency graph for RtpHeader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RtpHeader
 RTP header as described in RFC 3550. More...
 

Macros

#define RTP_V_MASK   0xC0
 Mask for Version bit in RtpHeader::vpxcc. More...
 
#define RTP_V_SHIFT   6
 Shift for Version bit in RtpHeader::vpxcc. More...
 
#define RTP_P_MASK   0x20
 Mask for Padding bit in RtpHeader::vpxcc. More...
 
#define RTP_P_SHIFT   5
 Shift for Padding bit in RtpHeader::vpxcc. More...
 
#define RTP_X_MASK   0x10
 Mask for Extension bit in RtpHeader::vpxcc. More...
 
#define RTP_X_SHIFT   4
 Shift for Extension bit in RtpHeader::vpxcc. More...
 
#define RTP_CC_MASK   0x0F
 Mask for CCSRC bits in RtpHeader::vpxcc. More...
 
#define RTP_CC_SHIFT   0
 Shift for CCSRC bits in RtpHeader::vpxcc. More...
 
#define RTP_M_MASK   0x80
 Mask for Marker bit in RtpHeader::mpt. More...
 
#define RTP_M_SHIFT   7
 Shift for Marker bit in RtpHeader::mpt. More...
 
#define RTP_PT_MASK   0x7F
 Mask for Payload Type bits in RtpHeader::mpt. More...
 
#define RTP_PT_SHIFT   0
 Shift for Payload Type bits in RtpHeader::mpt. More...
 
#define RTP_MAX_CSRCS   16
 Maximum number of CSRCs in RTP packet. More...
 

Macro Definition Documentation

#define RTP_V_MASK   0xC0

Mask for Version bit in RtpHeader::vpxcc.

#define RTP_V_SHIFT   6

Shift for Version bit in RtpHeader::vpxcc.

#define RTP_P_MASK   0x20

Mask for Padding bit in RtpHeader::vpxcc.

#define RTP_P_SHIFT   5

Shift for Padding bit in RtpHeader::vpxcc.

#define RTP_X_MASK   0x10

Mask for Extension bit in RtpHeader::vpxcc.

#define RTP_X_SHIFT   4

Shift for Extension bit in RtpHeader::vpxcc.

#define RTP_CC_MASK   0x0F

Mask for CCSRC bits in RtpHeader::vpxcc.

#define RTP_CC_SHIFT   0

Shift for CCSRC bits in RtpHeader::vpxcc.

#define RTP_M_MASK   0x80

Mask for Marker bit in RtpHeader::mpt.

#define RTP_M_SHIFT   7

Shift for Marker bit in RtpHeader::mpt.

#define RTP_PT_MASK   0x7F

Mask for Payload Type bits in RtpHeader::mpt.

#define RTP_PT_SHIFT   0

Shift for Payload Type bits in RtpHeader::mpt.

#define RTP_MAX_CSRCS   16

Maximum number of CSRCs in RTP packet.