RTP.h File Reference

#include "orbsvcs/AV/AV_export.h"
#include "orbsvcs/AV/Protocol_Factory.h"
#include "ace/Service_Config.h"
#include "orbsvcs/AV/Policy.h"
#include "orbsvcs/AV/FlowSpec_Entry.h"
#include "orbsvcs/AV/MCast.h"

Include dependency graph for RTP.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  TAO_AV_RTP
 Encapsulate the Real Time Protocol (RTP) header format. More...

struct  TAO_AV_RTP::rtphdr
struct  TAO_AV_RTP::jpeghdr
struct  TAO_AV_RTP::nvhdr
struct  TAO_AV_RTP::cellbhdr
struct  TAO_AV_RTP::bvchdr
class  RTP_Packet
 This class encapsulates all the necessary information to break down or build up an RTP data packet as well as operations to access all data items in the packet. More...

class  TAO_AV_RTP_Object
 TAO_AV_Protocol_object for the RTP protocol. More...

class  TAO_AV_RTP_Flow_Factory

Defines

#define RTP_PT_BVC   22 /* Berkeley video codec */
#define RTP_PT_RGB8   23 /* 8-bit dithered RGB */
#define RTP_PT_HDCC   24 /* SGI proprietary */
#define RTP_PT_CELLB   25 /* Sun CellB */
#define RTP_PT_JPEG   26 /* JPEG */
#define RTP_PT_CUSEEME   27 /* Cornell CU-SeeMe */
#define RTP_PT_NV   28 /* Xerox PARC nv */
#define RTP_PT_PICW   29 /* BB&N PictureWindow */
#define RTP_PT_CPV   30 /* Concept/Bolter/Viewpoint codec */
#define RTP_PT_H261   31 /* ITU H.261 */
#define RTP_PT_MPEG   32 /* MPEG-I & MPEG-II */
#define RTP_PT_MP2T   33 /* MPEG-II either audio or video */
#define RTP_PT_H261_COMPAT   127
#define RTP_PT_PCMU   0 /* 8k */
#define RTP_PT_CELP   1 /* 8k */
#define RTP_PT_G721   2 /* 8k */
#define RTP_PT_GSM   3 /* 8k */
#define RTP_PT_DVI   5 /* 8k */
#define RTP_PT_LPC   7 /* 8k */
#define RTP_PT_PCMA   8 /* 8k */
#define RTP_PT_G722   9 /* 8k */
#define RTP_PT_L16_STEREO   10 /* 44.1k */
#define RTP_PT_L16_MONO   11 /* 44.1k */
#define RTP_PT_L16_OTHER   23 /* */
#define RTP_EPOCH_OFFSET   2208988800UL
#define RTP_VERSION   2
#define RTP_M   0x0080 /* Marker: significant event <e.g. frame boundary> */
#define RTP_P   0x2000 /* Padding is present */
#define RTP_X   0x1000 /* Extension Header is present */
#define RTCP_PT_SR   200 /* sender report */
#define RTCP_PT_RR   201 /* receiver report */
#define RTCP_PT_SDES   202 /* source description */
#define RTCP_SDES_END   0 /* indicates the end of the sdes message */
#define RTCP_SDES_CNAME   1 /* official name (mandatory) */
#define RTCP_SDES_NAME   2 /* personal name (optional) */
#define RTCP_SDES_EMAIL   3 /* e-mail addr (optional) */
#define RTCP_SDES_PHONE   4 /* telephone # (optional) */
#define RTCP_SDES_LOC   5 /* geographical location */
#define RTCP_SDES_TOOL   6 /* name/(vers) of app */
#define RTCP_SDES_NOTE   7 /* transient messages */
#define RTCP_SDES_PRIV   8 /* private SDES extensions */
#define RTCP_PT_BYE   203 /* end of participation */
#define RTCP_PT_APP   204 /* application specific functions */
#define RTCP_SDES_MIN   1
#define RTP_SEQ_MOD   (1<<16)
#define RTCP_SESSION_BW_FRACTION   (0.05)
#define RTCP_MIN_RPT_TIME   (5.)
#define RTCP_SENDER_BW_FRACTION   (0.25)
#define RTCP_RECEIVER_BW_FRACTION   (1. - RTCP_SENDER_BW_FRACTION)
#define RTCP_SIZE_GAIN   (1./8.)
#define RTP_MTU   2*ACE_MAX_DGRAM_SIZE
#define MAXHDR   24


Detailed Description

RTP.h,v 5.17 2006/03/14 06:14:24 jtc Exp

Author:
Nagarajan Surendran <naga@cs.wustl.edu>

Definition in file RTP.h.


Define Documentation

#define MAXHDR   24
 

Definition at line 178 of file RTP.h.

#define RTCP_MIN_RPT_TIME   (5.)
 

Definition at line 167 of file RTP.h.

Referenced by TAO_AV_RTCP::rtcp_interval().

#define RTCP_PT_APP   204 /* application specific functions */
 

Definition at line 155 of file RTP.h.

Referenced by TAO_AV_RTCP_Callback::receive_control_frame().

#define RTCP_PT_BYE   203 /* end of participation */
 

Definition at line 153 of file RTP.h.

Referenced by TAO_AV_RTCP_Callback::receive_control_frame(), and RTCP_BYE_Packet::RTCP_BYE_Packet().

#define RTCP_PT_RR   201 /* receiver report */
 

Definition at line 131 of file RTP.h.

Referenced by RTP_Packet::is_valid(), RTCP_Packet::is_valid(), TAO_AV_RTCP_Callback::receive_control_frame(), and RTCP_RR_Packet::RTCP_RR_Packet().

#define RTCP_PT_SDES   202 /* source description */
 

Definition at line 133 of file RTP.h.

Referenced by TAO_AV_RTCP_Callback::receive_control_frame(), and RTCP_SDES_Packet::RTCP_SDES_Packet().

#define RTCP_PT_SR   200 /* sender report */
 

Definition at line 129 of file RTP.h.

Referenced by RTP_Packet::is_valid(), RTCP_Packet::is_valid(), TAO_AV_RTCP_Callback::receive_control_frame(), and RTCP_SR_Packet::RTCP_SR_Packet().

#define RTCP_RECEIVER_BW_FRACTION   (1. - RTCP_SENDER_BW_FRACTION)
 

Definition at line 169 of file RTP.h.

Referenced by TAO_AV_RTCP::rtcp_interval().

#define RTCP_SDES_CNAME   1 /* official name (mandatory) */
 

Definition at line 137 of file RTP.h.

Referenced by RTCP_SDES_Packet::dump(), and TAO_AV_RTCP_Callback::send_report().

#define RTCP_SDES_EMAIL   3 /* e-mail addr (optional) */
 

Definition at line 141 of file RTP.h.

Referenced by RTCP_SDES_Packet::dump(), and TAO_AV_RTCP_Callback::send_report().

#define RTCP_SDES_END   0 /* indicates the end of the sdes message */
 

Definition at line 135 of file RTP.h.

Referenced by RTCP_SDES_Packet::dump(), and RTCP_SDES_Packet::RTCP_SDES_Packet().

#define RTCP_SDES_LOC   5 /* geographical location */
 

Definition at line 145 of file RTP.h.

Referenced by RTCP_SDES_Packet::dump().

#define RTCP_SDES_MIN   1
 

Definition at line 158 of file RTP.h.

#define RTCP_SDES_NAME   2 /* personal name (optional) */
 

Definition at line 139 of file RTP.h.

Referenced by RTCP_SDES_Packet::dump(), and TAO_AV_RTCP_Callback::send_report().

#define RTCP_SDES_NOTE   7 /* transient messages */
 

Definition at line 149 of file RTP.h.

Referenced by RTCP_SDES_Packet::dump(), and TAO_AV_RTCP_Callback::send_report().

#define RTCP_SDES_PHONE   4 /* telephone # (optional) */
 

Definition at line 143 of file RTP.h.

Referenced by RTCP_SDES_Packet::dump().

#define RTCP_SDES_PRIV   8 /* private SDES extensions */
 

Definition at line 151 of file RTP.h.

Referenced by RTCP_SDES_Packet::add_priv_item(), RTCP_SDES_Packet::build_packet(), RTCP_SDES_Packet::dump(), RTCP_SDES_Packet::packet_size(), RTCP_SDES_Packet::RTCP_SDES_Packet(), and RTCP_SDES_Packet::~RTCP_SDES_Packet().

#define RTCP_SDES_TOOL   6 /* name/(vers) of app */
 

Definition at line 147 of file RTP.h.

Referenced by RTCP_SDES_Packet::dump(), and TAO_AV_RTCP_Callback::send_report().

#define RTCP_SENDER_BW_FRACTION   (0.25)
 

Definition at line 168 of file RTP.h.

Referenced by TAO_AV_RTCP::rtcp_interval().

#define RTCP_SESSION_BW_FRACTION   (0.05)
 

Definition at line 166 of file RTP.h.

#define RTCP_SIZE_GAIN   (1./8.)
 

Definition at line 170 of file RTP.h.

Referenced by TAO_AV_RTCP::rtcp_interval().

#define RTP_EPOCH_OFFSET   2208988800UL
 

Definition at line 118 of file RTP.h.

#define RTP_M   0x0080 /* Marker: significant event <e.g. frame boundary> */
 

Definition at line 121 of file RTP.h.

#define RTP_MTU   2*ACE_MAX_DGRAM_SIZE
 

Definition at line 176 of file RTP.h.

#define RTP_P   0x2000 /* Padding is present */
 

Definition at line 123 of file RTP.h.

#define RTP_PT_BVC   22 /* Berkeley video codec */
 

Definition at line 59 of file RTP.h.

#define RTP_PT_CELLB   25 /* Sun CellB */
 

Definition at line 67 of file RTP.h.

#define RTP_PT_CELP   1 /* 8k */
 

Definition at line 92 of file RTP.h.

Referenced by TAO_AV_RTP_Object::send_frame(), and RTCP_Channel_In::updateStatistics().

#define RTP_PT_CPV   30 /* Concept/Bolter/Viewpoint codec */
 

Definition at line 77 of file RTP.h.

#define RTP_PT_CUSEEME   27 /* Cornell CU-SeeMe */
 

Definition at line 71 of file RTP.h.

#define RTP_PT_DVI   5 /* 8k */
 

Definition at line 98 of file RTP.h.

Referenced by TAO_AV_RTP_Object::send_frame(), and RTCP_Channel_In::updateStatistics().

#define RTP_PT_G721   2 /* 8k */
 

Definition at line 94 of file RTP.h.

Referenced by TAO_AV_RTP_Object::send_frame(), and RTCP_Channel_In::updateStatistics().

#define RTP_PT_G722   9 /* 8k */
 

Definition at line 104 of file RTP.h.

Referenced by TAO_AV_RTP_Object::send_frame(), and RTCP_Channel_In::updateStatistics().

#define RTP_PT_GSM   3 /* 8k */
 

Definition at line 96 of file RTP.h.

Referenced by TAO_AV_RTP_Object::send_frame(), and RTCP_Channel_In::updateStatistics().

#define RTP_PT_H261   31 /* ITU H.261 */
 

Definition at line 79 of file RTP.h.

#define RTP_PT_H261_COMPAT   127
 

Definition at line 87 of file RTP.h.

#define RTP_PT_HDCC   24 /* SGI proprietary */
 

Definition at line 65 of file RTP.h.

#define RTP_PT_JPEG   26 /* JPEG */
 

Definition at line 69 of file RTP.h.

#define RTP_PT_L16_MONO   11 /* 44.1k */
 

Definition at line 108 of file RTP.h.

Referenced by RTP_Packet::RTP_Packet(), TAO_AV_RTP_Object::send_frame(), and RTCP_Channel_In::updateStatistics().

#define RTP_PT_L16_OTHER   23 /* */
 

Definition at line 114 of file RTP.h.

Referenced by RTP_Packet::RTP_Packet().

#define RTP_PT_L16_STEREO   10 /* 44.1k */
 

Definition at line 106 of file RTP.h.

Referenced by RTP_Packet::RTP_Packet(), TAO_AV_RTP_Object::send_frame(), and RTCP_Channel_In::updateStatistics().

#define RTP_PT_LPC   7 /* 8k */
 

Definition at line 100 of file RTP.h.

Referenced by TAO_AV_RTP_Object::send_frame(), and RTCP_Channel_In::updateStatistics().

#define RTP_PT_MP2T   33 /* MPEG-II either audio or video */
 

Definition at line 83 of file RTP.h.

#define RTP_PT_MPEG   32 /* MPEG-I & MPEG-II */
 

Definition at line 81 of file RTP.h.

#define RTP_PT_NV   28 /* Xerox PARC nv */
 

Definition at line 73 of file RTP.h.

#define RTP_PT_PCMA   8 /* 8k */
 

Definition at line 102 of file RTP.h.

Referenced by TAO_AV_RTP_Object::send_frame(), and RTCP_Channel_In::updateStatistics().

#define RTP_PT_PCMU   0 /* 8k */
 

Definition at line 90 of file RTP.h.

Referenced by TAO_AV_RTP_Object::send_frame(), and RTCP_Channel_In::updateStatistics().

#define RTP_PT_PICW   29 /* BB&N PictureWindow */
 

Definition at line 75 of file RTP.h.

#define RTP_PT_RGB8   23 /* 8-bit dithered RGB */
 

Definition at line 63 of file RTP.h.

#define RTP_SEQ_MOD   (1<<16)
 

Definition at line 160 of file RTP.h.

Referenced by RTCP_Channel_In::init_seq(), and RTCP_Channel_In::update_seq().

#define RTP_VERSION   2
 

Definition at line 119 of file RTP.h.

Referenced by RTP_Packet::is_valid(), RTCP_Packet::is_valid(), and RTCP_Packet::RTCP_Packet().

#define RTP_X   0x1000 /* Extension Header is present */
 

Definition at line 125 of file RTP.h.


Generated on Thu Nov 9 13:46:14 2006 for TAO_AV by doxygen 1.3.6