Main Page | Class Hierarchy | Class List | Directories | Class Members

MntRTPHdr Class Reference

MntRTPHdr encapsulates the RTP header. More...

#include <mnt_rtp.h>

List of all members.

Public Member Functions

uint32_t get_ssrc ()
uint16_t get_seq_no ()
uint32_t get_timestamp ()
int marker_bit_set ()

Public Attributes

union {
   uint16_t   bits_
flags_
uint16_t seqno_
uint32_t ts_
uint32_t ssrc_

Static Public Attributes

static const int RTP_M_MASK = 0x0080
static const int RTP_M_SHIFT = 7
static const int RTP_P = 0x2000
static const int RTP_X = 0x1000
static const int RTP_PT_MPEG = 32


Detailed Description

MntRTPHdr encapsulates the RTP header.

From RFC:

  0                   1                   2                   3
  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |V=2|P|X|  CC   |M|     PT      |       sequence number         |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                           timestamp                           |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |           synchronization source (SSRC) identifier            |
 +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
 |            contributing source (CSRC) identifiers             |
 |                             ....                              |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

 


Member Data Documentation

uint16_t MntRTPHdr::seqno_
 

sequence number (network format)

uint32_t MntRTPHdr::ssrc_
 

synchronization src id (network format)

uint32_t MntRTPHdr::ts_
 

media-specific time stamp (network format)


The documentation for this class was generated from the following file:
Generated on Wed Sep 14 12:37:13 2005 for mnt by  doxygen 1.4.4