Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

rtp_hdr_t Struct Reference

#include <MNRTPNetTypes.h>

List of all members.

Public Member Functions

int rate () const
u_int32 get_ssrc () const
u_int32 get_hdr_and_csrc_byte_size () const
bool check_version () const

Public Attributes

unsigned int version:2
 Protocol version.
unsigned int p:1
 Padding flag.
unsigned int x:1
 Header extension flag.
unsigned int cc:4
 CSRC (contributing source) count.
unsigned int m:1
 Marker bit.
unsigned int pt:7
 Payload type.
u_int16 seq
 Sequence number.
u_int32 ts
 RTP Timestamp.
u_int32 ssrc
 Synchronization source.
u_int32 csrc [1]
 Optional CSRC list.


Detailed Description

RTP data header.


Member Function Documentation

bool rtp_hdr_t::check_version  )  const
 

Checks whether this packet's version is understood.

Returns:
True if the version is understood, false otherwise.

u_int32 rtp_hdr_t::get_hdr_and_csrc_byte_size  )  const [inline]
 

u_int32 rtp_hdr_t::get_ssrc  )  const [inline]
 

int rtp_hdr_t::rate  )  const [inline]
 

Look up and return the rate that is defined for this payload type.

Returns:
The rate of this payload type.


Member Data Documentation

unsigned int rtp_hdr_t::cc
 

CSRC (contributing source) count.

u_int32 rtp_hdr_t::csrc[1]
 

Optional CSRC list.

unsigned int rtp_hdr_t::m
 

Marker bit.

unsigned int rtp_hdr_t::p
 

Padding flag.

unsigned int rtp_hdr_t::pt
 

Payload type.

u_int16 rtp_hdr_t::seq
 

Sequence number.

u_int32 rtp_hdr_t::ssrc
 

Synchronization source.

u_int32 rtp_hdr_t::ts
 

RTP Timestamp.

unsigned int rtp_hdr_t::version
 

Protocol version.

unsigned int rtp_hdr_t::x
 

Header extension flag.


The documentation for this struct was generated from the following file:
Generated on Sun Mar 6 13:36:09 2005 for Komssys by doxygen 1.3.8