#include <rtp.h>
Public Member Functions | |
u_int32_t & | srcid () |
int & | seqno () |
u_int16_t & | flags () |
double & | timestamp () |
Static Public Member Functions | |
static int & | offset () |
static hdr_rtp * | access (const Packet *p) |
Public Attributes | |
u_int32_t | srcid_ |
int | seqno_ |
u_int16_t | flags_ |
double | timestamp_ |
sender_report * | sr_ |
receiver_report * | rr_ |
Static Public Attributes | |
static int | offset_ |
Definition at line 106 of file rtp.h.
static int& hdr_rtp::offset | ( | ) | [inline, static] |
static hdr_rtp* hdr_rtp::access | ( | const Packet * | p | ) | [inline, static] |
Definition at line 117 of file rtp.h.
References access(), and offset_.
Referenced by access(), RTPAgent::makepkt(), RTPSession::recv(), RTPSession::recv_ctrl(), RTPAgent::sendmsg(), and RTCPAgent::sendpkt().
u_int32_t& hdr_rtp::srcid | ( | ) | [inline] |
return the the unique source id for this session
Definition at line 122 of file rtp.h.
References srcid_.
Referenced by RTPAgent::makepkt(), RTPSession::recv(), RTPSession::recv_ctrl(), and RTCPAgent::sendpkt().
00122 { return (srcid_); }
int& hdr_rtp::seqno | ( | ) | [inline] |
return the sequence number of RTP and RTCP packets
Definition at line 124 of file rtp.h.
References seqno_.
Referenced by RTPAgent::makepkt(), RTPSession::recv(), RTPAgent::sendmsg(), and RTCPAgent::sendpkt().
00124 { return (seqno_); }
u_int16_t& hdr_rtp::flags | ( | ) | [inline] |
double& hdr_rtp::timestamp | ( | ) | [inline] |
return the timestamp of the RTP packet
Definition at line 127 of file rtp.h.
References timestamp_.
Referenced by RTPAgent::makepkt(), RTPSession::recv(), RTPSession::recv_ctrl(), and RTCPAgent::sendpkt().
00127 { return (timestamp_); }
u_int32_t hdr_rtp::srcid_ |
int hdr_rtp::seqno_ |
u_int16_t hdr_rtp::flags_ |
double hdr_rtp::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 115 of file rtp.h.
Referenced by access(), offset(), and RTPHeaderClass::RTPHeaderClass().
Definition at line 128 of file rtp.h.
Referenced by RTPSession::build_report(), RTPSession::recv_ctrl(), and RTCPAgent::sendpkt().
Definition at line 129 of file rtp.h.
Referenced by RTPSession::build_report(), RTPSession::recv_ctrl(), and RTCPAgent::sendpkt().