<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>RTPPacket class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.5 on Fri Oct 5 10:28:26 2001 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindex" href="examples.html">Examples</a> </center> <hr><h1>RTPPacket Class Reference</h1>A base class for both <a class="el" href="class_IncomingRTPPkt.html">IncomingRTPPkt</a> and <a class="el" href="class_OutgoingRTPPkt.html">OutgoingRTPPkt</a>. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="rtpext_h-source.html">cc++/rtpext.h</a>></code> <p> <p>Inheritance diagram for RTPPacket: <p><center><img src="class_RTPPacket.gif" usemap="#RTPPacket_map" border="0"></center> <map name="RTPPacket_map"> <area href="class_IncomingRTPPkt.html" alt="IncomingRTPPkt" shape="rect" coords="0,56,103,80"> <area href="class_OutgoingRTPPkt.html" alt="OutgoingRTPPkt" shape="rect" coords="113,56,216,80"> </map> <a href="class_RTPPacket-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a0">RTPPacket</a> (const unsigned char *const block, size_t len, bool duplicate=false)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a1">RTPPacket</a> (size_t hdrlen, size_t plen)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a2">~RTPPacket</a> ()</td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="struct_RTPPacket__RTPFixedHeader.html">RTPFixedHeader</a>* </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a3">getHeader</a> (void) const</td></tr> <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a4">getHeaderSize</a> (void) const</td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="struct_RTPPacket__RTPHeaderExt.html">RTPHeaderExt</a>* </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a5">getHeaderExt</a> () const</td></tr> <tr><td nowrap align=right valign=top>const unsigned char* const </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a6">getPayload</a> (void) const</td></tr> <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a7">getPayloadSize</a> () const</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="rtp_h.html#a67">rtp_payload_t</a> </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a8">getPayloadType</a> () const</td></tr> <tr><td nowrap align=right valign=top>uint16 </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a9">getSeqNum</a> () const</td></tr> <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a10">getRawTimestamp</a> (void) const</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a11">isPadded</a> () const</td></tr> <tr><td nowrap align=right valign=top>uint8 </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a12">getPaddingSize</a> () const</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a13">isMarked</a> () const</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a14">isExtended</a> () const</td></tr> <tr><td nowrap align=right valign=top>uint16 </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a15">getCSRCsCount</a> () const</td></tr> <tr><td nowrap align=right valign=top>const uint32* </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a16">getCSRCs</a> () const</td></tr> <tr><td nowrap align=right valign=top>const unsigned char* const </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a17">getRawPacket</a> () const</td></tr> <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="class_RTPPacket.html#a18">getRawPacketSize</a> () const</td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_RTPPacket.html#b0">setbuffer</a> (const void *src, size_t len, size_t pos)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_RTPPacket.html#b1">endPacket</a> ()</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="class_RTPPacket.html#n0">hdrsize</a></td></tr> <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="class_RTPPacket.html#n1">payload_size</a></td></tr> <tr><td nowrap align=right valign=top>uint32 </td><td valign=bottom><a class="el" href="class_RTPPacket.html#n2">total</a></td></tr> <tr><td nowrap align=right valign=top>unsigned char* </td><td valign=bottom><a class="el" href="class_RTPPacket.html#n3">buffer</a></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_RTPPacket.html#n4">duplicated</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A base class for both <a class="el" href="class_IncomingRTPPkt.html">IncomingRTPPkt</a> and <a class="el" href="class_OutgoingRTPPkt.html">OutgoingRTPPkt</a>. <p> <p> Provides common low level header structures and related methods. <p> <dl compact><dt> <b>Author(s): </b><dd> David Sugar <<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>> </dl> <p> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00061">61</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="RTPPacket::RTPPacket"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> RTPPacket::RTPPacket ( </b></td> <td valign="bottom"><b> const unsigned char *const <em>block</em>, </b></td> </tr> <tr> <td></td> <td><b> size_t <em>len</em>, </b></td> </tr> <tr> <td></td> <td><b> bool <em>duplicate</em> = false ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Constructor, construct a packet object given the memory zone its content is stored.<dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>block</em> </td><td> whole packet </td></tr> <tr><td valign=top><em>len</em> </td><td> total length (header + payload + padding) of the packet </td></tr> <tr><td valign=top><em>duplicate</em> </td><td> whether to memcopy the packet. At present, this feature is not used. </td></tr> </table> </dl><dl compact><dt> <b>Note: </b><dd> used in <a class="el" href="class_IncomingRTPPkt.html">IncomingRTPPkt</a>. </dl> </td> </tr> </table> <a name="a1" doxytag="RTPPacket::RTPPacket"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> RTPPacket::RTPPacket ( </b></td> <td valign="bottom"><b> size_t <em>hdrlen</em>, </b></td> </tr> <tr> <td></td> <td><b> size_t <em>plen</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Constructor, construct a packet object without specifying its real content yet.<dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>hdrlen</em> </td><td> length of the header (including CSRC and extension) </td></tr> <tr><td valign=top><em>len</em> </td><td> payload length. </td></tr> </table> </dl><dl compact><dt> <b>Note: </b><dd> used in <a class="el" href="class_OutgoingRTPPkt.html">OutgoingRTPPkt</a>. </dl> </td> </tr> </table> <a name="a2" doxytag="RTPPacket::~RTPPacket"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> RTPPacket::~RTPPacket ( </b></td> <td valign="bottom"><b> )<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Destructor, free the buffer provided in the constructor. <p> Definition at line <a class="el" href="rtpext_h-source.html#l00155">155</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="b1" doxytag="RTPPacket::endPacket"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void RTPPacket::endPacket ( </b></td> <td valign="bottom"><b> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Free memory allocated for the packet <p> Referenced by <a class="el" href="rtpext_h-source.html#l00155">~RTPPacket</a>(). </td> </tr> </table> <a name="a16" doxytag="RTPPacket::getCSRCs"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> const uint32 * RTPPacket::getCSRCs ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the 32-bit identifiers of the contributing sources for the packet as an array, of length <a class="el" href="class_RTPPacket.html#a15">getCSRCsCount</a>() <p> Definition at line <a class="el" href="rtpext_h-source.html#l00276">276</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="a15" doxytag="RTPPacket::getCSRCsCount"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> uint16 RTPPacket::getCSRCsCount ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the number of contributing sources specified in the packet header. <p> Definition at line <a class="el" href="rtpext_h-source.html#l00268">268</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="a3" doxytag="RTPPacket::getHeader"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> const <a class="el" href="struct_RTPPacket__RTPFixedHeader.html">RTPFixedHeader</a> * RTPPacket::getHeader ( </b></td> <td valign="bottom"><b> void ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Return low level structure for the header of the packet. <p> <dl compact><dt> <b>Returns: </b><dd> <a class="el" href="struct_RTPPacket__RTPFixedHeader.html">RTPFixedHeader</a> pointer to the header of the packet </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00164">164</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. <p> Referenced by <a class="el" href="rtpext_h-source.html#l00276">getCSRCs</a>(), <a class="el" href="rtpext_h-source.html#l00268">getCSRCsCount</a>(), <a class="el" href="rtpext_h-source.html#l00185">getHeaderExt</a>(), <a class="el" href="rtpext_h-source.html#l00210">getPayloadType</a>(), <a class="el" href="rtpext_h-source.html#l00226">getRawTimestamp</a>(), <a class="el" href="rtpext_h-source.html#l00535">IncomingRTPPkt::getSSRC</a>(), <a class="el" href="rtpext_h-source.html#l00217">getSeqNum</a>(), <a class="el" href="rtpext_h-source.html#l00260">isExtended</a>(), <a class="el" href="rtpext_h-source.html#l00252">isMarked</a>(), <a class="el" href="rtpext_h-source.html#l00234">isPadded</a>(), <a class="el" href="rtpext_h-source.html#l00416">OutgoingRTPPkt::setMarker</a>(), <a class="el" href="rtpext_h-source.html#l00384">OutgoingRTPPkt::setPayloadType</a>(), <a class="el" href="rtpext_h-source.html#l00409">OutgoingRTPPkt::setSSRC</a>(), <a class="el" href="rtpext_h-source.html#l00391">OutgoingRTPPkt::setSeqNum</a>(), and <a class="el" href="rtpext_h-source.html#l00398">OutgoingRTPPkt::setTimestamp</a>(). </td> </tr> </table> <a name="a5" doxytag="RTPPacket::getHeaderExt"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> const <a class="el" href="struct_RTPPacket__RTPHeaderExt.html">RTPHeaderExt</a> * RTPPacket::getHeaderExt ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get a pointer to <a class="el" href="struct_RTPPacket__RTPHeaderExt.html">RTPHeaderExt</a> pointing after the RTP header (fixed part plus contributing sources). No check for for the X bit is done. <p> <dl compact><dt> <b>Returns: </b><dd> header extension if present, garbage if not. </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00185">185</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. <p> Referenced by <a class="el" href="rtpext_h-source.html#l00610">IncomingRTPPkt::getExtSize</a>(), and <a class="el" href="rtpext_h-source.html#l00595">IncomingRTPPkt::getExtUndefined</a>(). </td> </tr> </table> <a name="a4" doxytag="RTPPacket::getHeaderSize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> uint32 RTPPacket::getHeaderSize ( </b></td> <td valign="bottom"><b> void ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Obtain the length of the header, including contributing sources and header extension, if present. <p> <dl compact><dt> <b>Returns: </b><dd> number of octets </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00174">174</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. <p> Referenced by <a class="el" href="rtpext_h-source.html#l00196">getPayload</a>(). </td> </tr> </table> <a name="a12" doxytag="RTPPacket::getPaddingSize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> uint8 RTPPacket::getPaddingSize ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the number of octets padding the end of the payload section. <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>padding</em> </td><td> length in octets </td></tr> </table> </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00243">243</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="a6" doxytag="RTPPacket::getPayload"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> const unsigned char *const RTPPacket::getPayload ( </b></td> <td valign="bottom"><b> void ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt> <b>Returns: </b><dd> pointer to the payload section of the packet </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00196">196</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="a7" doxytag="RTPPacket::getPayloadSize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> uint32 RTPPacket::getPayloadSize ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt> <b>Returns: </b><dd> lenght of the payload section, in octets </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00203">203</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="a8" doxytag="RTPPacket::getPayloadType"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="rtp_h.html#a67">rtp_payload_t</a> RTPPacket::getPayloadType ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt> <b>Returns: </b><dd> value of the PT header field </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00210">210</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="a17" doxytag="RTPPacket::getRawPacket"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> const unsigned char *const RTPPacket::getRawPacket ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the raw packet as it will be sent through the network <p> <dl compact><dt> <b>Returns: </b><dd> memory zone where the raw packet structure is stored in </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00286">286</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="a18" doxytag="RTPPacket::getRawPacketSize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> uint32 RTPPacket::getRawPacketSize ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the raw packet length, including header, extension, payload and padding. <p> <dl compact><dt> <b>Returns: </b><dd> size of the raw packet structure </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00296">296</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="a10" doxytag="RTPPacket::getRawTimestamp"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> uint32 RTPPacket::getRawTimestamp ( </b></td> <td valign="bottom"><b> void ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Obtain the absolute timestamp carried in the packet header. <p> <dl compact><dt> <b>Returns: </b><dd> 32-bit timestamp in host order </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00226">226</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. <p> Referenced by <a class="el" href="rtpext_h-source.html#l00424">OutgoingRTPPkt::getTimestamp</a>(). </td> </tr> </table> <a name="a9" doxytag="RTPPacket::getSeqNum"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> uint16 RTPPacket::getSeqNum ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt> <b>Returns: </b><dd> value of the sequence number header field </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00217">217</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. <p> Referenced by <a class="el" href="rtpext_h-source.html#l00517">IncomingRTPPkt::operator==</a>(), and <a class="el" href="rtpext_h-source.html#l00431">OutgoingRTPPkt::operator==</a>(). </td> </tr> </table> <a name="a14" doxytag="RTPPacket::isExtended"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> bool RTPPacket::isExtended ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Ask whether the packet contains header extensions <dl compact><dt> <b>Returns: </b><dd> true if the header extension bit is 1 </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00260">260</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. <p> Referenced by <a class="el" href="rtpext_h-source.html#l00610">IncomingRTPPkt::getExtSize</a>(), and <a class="el" href="rtpext_h-source.html#l00595">IncomingRTPPkt::getExtUndefined</a>(). </td> </tr> </table> <a name="a13" doxytag="RTPPacket::isMarked"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> bool RTPPacket::isMarked ( </b></td> <td valign="bottom"><b> void ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Ask whether the packet is marked (for isntance, is a new talk spurt in some audio profiles) <dl compact><dt> <b>Returns: </b><dd> true is the header marker bit is 1 </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00252">252</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="a11" doxytag="RTPPacket::isPadded"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> bool RTPPacket::isPadded ( </b></td> <td valign="bottom"><b> ) const<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Ask whether the packet contains padding bytes at the end <dl compact><dt> <b>Returns: </b><dd> true if the header padding bit is 1 </dl> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00234">234</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="b0" doxytag="RTPPacket::setbuffer"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void RTPPacket::setbuffer ( </b></td> <td valign="bottom"><b> const void * <em>src</em>, </b></td> </tr> <tr> <td></td> <td><b> size_t <em>len</em>, </b></td> </tr> <tr> <td></td> <td><b> size_t <em>pos</em> )<code> [inline, protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00301">301</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="n3" doxytag="RTPPacket::buffer"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> unsigned char * RTPPacket::buffer<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00122">122</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="n4" doxytag="RTPPacket::duplicated"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> bool RTPPacket::duplicated<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00124">124</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="n0" doxytag="RTPPacket::hdrsize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> uint32 RTPPacket::hdrsize<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00116">116</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="n1" doxytag="RTPPacket::payload_size"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> uint32 RTPPacket::payload_size<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00118">118</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <a name="n2" doxytag="RTPPacket::total"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> uint32 RTPPacket::total<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="rtpext_h-source.html#l00120">120</a> of file <a class="el" href="rtpext_h-source.html">rtpext.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="rtpext_h-source.html">rtpext.h</a></ul> <hr><address><small>Generated at Fri Oct 5 10:28:26 2001 for ccRTP by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.5 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>