hdr_rtp Struct Reference

#include <rtp.h>

List of all members.

Public Member Functions

u_int32_t & srcid ()
int & seqno ()
u_int16_t & flags ()
double & timestamp ()

Static Public Member Functions

static int & offset ()
static hdr_rtpaccess (const Packet *p)

Public Attributes

u_int32_t srcid_
int seqno_
u_int16_t flags_
double timestamp_
sender_reportsr_
receiver_reportrr_

Static Public Attributes

static int offset_


Detailed Description

rtp packet header

Definition at line 93 of file rtp.h.


Member Function Documentation

u_int32_t& hdr_rtp::srcid (  )  [inline]

return the the unique source id for this session

Definition at line 109 of file rtp.h.

References srcid_.

Referenced by RTPAgent::makepkt(), RTPSession::recv(), and RTPSession::recv_ctrl().

int& hdr_rtp::seqno (  )  [inline]

return the sequence number of RTP and RTCP packets

Definition at line 111 of file rtp.h.

References seqno_.

Referenced by RTPAgent::makepkt(), RTPSession::recv(), and RTPAgent::sendmsg().

double& hdr_rtp::timestamp (  )  [inline]

return the timestamp of the RTP packet

Definition at line 114 of file rtp.h.

References timestamp_.

Referenced by RTPAgent::makepkt(), RTPSession::recv(), and RTPSession::recv_ctrl().


Member Data Documentation

u_int32_t hdr_rtp::srcid_

the unique source id for this session

Definition at line 95 of file rtp.h.

Referenced by srcid().

int hdr_rtp::seqno_

sequence number of RTP and RTCP packets

Definition at line 97 of file rtp.h.

Referenced by seqno().

u_int16_t hdr_rtp::flags_

rtp flags indicating significant event(begining of talkspurt)

Definition at line 99 of file rtp.h.

Referenced by flags().

double hdr_rtp::timestamp_

timestamp of the RTP packet

Definition at line 101 of file rtp.h.

Referenced by timestamp().

int hdr_rtp::offset_ [static]

Copyright (c) 2007 University of Patras Computer Engineering and Informatics Department Greece

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement:

4. Neither the name of the University nor of the Research Group may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 102 of file rtp.h.

Referenced by access(), and offset().

sender_report* hdr_rtp::sr_

the rtcp sender report

Definition at line 116 of file rtp.h.

Referenced by RTPSession::build_report(), and RTPSession::recv_ctrl().

receiver_report* hdr_rtp::rr_

the rtcp receiver report

Definition at line 118 of file rtp.h.

Referenced by RTPSession::build_report(), and RTPSession::recv_ctrl().


The documentation for this struct was generated from the following files:
Generated on Sat Mar 8 18:04:09 2008 for RTP by  doxygen 1.5.1