Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 7c0c66d6521a2c8efa0ef6bf03291d7f > files > 115

jrtplib-devel-3.7.1-7.fc12.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>jrtplib: RTCPSRPacket Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="jrtplib.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>RTCPSRPacket Class Reference</h1><!-- doxytag: class="RTCPSRPacket" --><!-- doxytag: inherits="RTCPPacket" -->Describes an RTCP sender report packet.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="rtcpsrpacket_8h_source.html">rtcpsrpacket.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for RTCPSRPacket:</div>
<div class="dynsection">
<p><center><img src="classRTCPSRPacket__inherit__graph.png" border="0" usemap="#RTCPSRPacket__inherit__map" alt="Inheritance graph"></center>
<map name="RTCPSRPacket__inherit__map">
<area shape="rect" href="classRTCPPacket.html" title="Base class for specific types of RTCP packets." alt="" coords="15,7,113,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for RTCPSRPacket:</div>
<div class="dynsection">
<p><center><img src="classRTCPSRPacket__coll__graph.png" border="0" usemap="#RTCPSRPacket__coll__map" alt="Collaboration graph"></center>
<map name="RTCPSRPacket__coll__map">
<area shape="rect" href="classRTCPPacket.html" title="Base class for specific types of RTCP packets." alt="" coords="15,7,113,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classRTCPSRPacket-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#ee4a0fb653512ea4d63de8b0e25072f9">RTCPSRPacket</a> (uint8_t *data, size_t datalength)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an instance based on the data in <code>data</code> with length <code>datalen</code>.  <a href="#ee4a0fb653512ea4d63de8b0e25072f9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#125ddc3aee38f723ce6cea31973a77dd">GetSenderSSRC</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the SSRC of the participant who sent this packet.  <a href="#125ddc3aee38f723ce6cea31973a77dd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classRTPNTPTime.html">RTPNTPTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#abb2db0176b5322d784c9963361258fd">GetNTPTimestamp</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the NTP timestamp contained in the sender report.  <a href="#abb2db0176b5322d784c9963361258fd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#f64d743c62b042dae830e58753ff486d">GetRTPTimestamp</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the RTP timestamp contained in the sender report.  <a href="#f64d743c62b042dae830e58753ff486d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#72bd1603ac794b64e113ec9588a57acd">GetSenderPacketCount</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the sender's packet count contained in the sender report.  <a href="#72bd1603ac794b64e113ec9588a57acd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#7aaa0cc0410d8c6898ae4b1bc1f22c68">GetSenderOctetCount</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the sender's octet count contained in the sender report.  <a href="#7aaa0cc0410d8c6898ae4b1bc1f22c68"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#9c067f0ce76ef9eb44f7bbc7bd7a73f6">GetReceptionReportCount</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of reception report blocks present in this packet.  <a href="#9c067f0ce76ef9eb44f7bbc7bd7a73f6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6811033b78581b51dbc84ac21edea7d4"></a><!-- doxytag: member="RTCPSRPacket::GetSSRC" ref="6811033b78581b51dbc84ac21edea7d4" args="(int index) const " -->
uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#6811033b78581b51dbc84ac21edea7d4">GetSSRC</a> (int index) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the SSRC of the reception report block described by <code>index</code> which may have a value from 0 to <a class="el" href="classRTCPSRPacket.html#9c067f0ce76ef9eb44f7bbc7bd7a73f6" title="Returns the number of reception report blocks present in this packet.">GetReceptionReportCount()</a>-1 (note that no check is performed to see if <code>index</code> is valid). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80c8385dde02028f8edff42e442196b1"></a><!-- doxytag: member="RTCPSRPacket::GetFractionLost" ref="80c8385dde02028f8edff42e442196b1" args="(int index) const " -->
uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#80c8385dde02028f8edff42e442196b1">GetFractionLost</a> (int index) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the `fraction lost' field of the reception report described by <code>index</code> which may have a value from 0 to <a class="el" href="classRTCPSRPacket.html#9c067f0ce76ef9eb44f7bbc7bd7a73f6" title="Returns the number of reception report blocks present in this packet.">GetReceptionReportCount()</a>-1 (note that no check is performed to see if <code>index</code> is valid). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7580aa564d963a4603a08291ae2ce9ec"></a><!-- doxytag: member="RTCPSRPacket::GetLostPacketCount" ref="7580aa564d963a4603a08291ae2ce9ec" args="(int index) const " -->
int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#7580aa564d963a4603a08291ae2ce9ec">GetLostPacketCount</a> (int index) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of lost packets in the reception report block described by <code>index</code> which may have a value from 0 to <a class="el" href="classRTCPSRPacket.html#9c067f0ce76ef9eb44f7bbc7bd7a73f6" title="Returns the number of reception report blocks present in this packet.">GetReceptionReportCount()</a>-1 (note that no check is performed to see if <code>index</code> is valid). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c0034b441a5bb1b44abe090f5a6a2aac"></a><!-- doxytag: member="RTCPSRPacket::GetExtendedHighestSequenceNumber" ref="c0034b441a5bb1b44abe090f5a6a2aac" args="(int index) const " -->
uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#c0034b441a5bb1b44abe090f5a6a2aac">GetExtendedHighestSequenceNumber</a> (int index) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the extended highest sequence number of the reception report block described by <code>index</code> which may have a value from 0 to <a class="el" href="classRTCPSRPacket.html#9c067f0ce76ef9eb44f7bbc7bd7a73f6" title="Returns the number of reception report blocks present in this packet.">GetReceptionReportCount()</a>-1 (note that no check is performed to see if <code>index</code> is valid). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9478b4ebe02331019d876ddcfcb491b7"></a><!-- doxytag: member="RTCPSRPacket::GetJitter" ref="9478b4ebe02331019d876ddcfcb491b7" args="(int index) const " -->
uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#9478b4ebe02331019d876ddcfcb491b7">GetJitter</a> (int index) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the jitter field of the reception report block described by <code>index</code> which may have a value from 0 to <a class="el" href="classRTCPSRPacket.html#9c067f0ce76ef9eb44f7bbc7bd7a73f6" title="Returns the number of reception report blocks present in this packet.">GetReceptionReportCount()</a>-1 (note that no check is performed to see if <code>index</code> is valid). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c9b81ac04453dd4237fc7667cfc226e"></a><!-- doxytag: member="RTCPSRPacket::GetLSR" ref="7c9b81ac04453dd4237fc7667cfc226e" args="(int index) const " -->
uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#7c9b81ac04453dd4237fc7667cfc226e">GetLSR</a> (int index) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the LSR field of the reception report block described by <code>index</code> which may have a value from 0 to <a class="el" href="classRTCPSRPacket.html#9c067f0ce76ef9eb44f7bbc7bd7a73f6" title="Returns the number of reception report blocks present in this packet.">GetReceptionReportCount()</a>-1 (note that no check is performed to see if <code>index</code> is valid). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2b350ffc85a3d6ae167569677812fbfd"></a><!-- doxytag: member="RTCPSRPacket::GetDLSR" ref="2b350ffc85a3d6ae167569677812fbfd" args="(int index) const " -->
uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRTCPSRPacket.html#2b350ffc85a3d6ae167569677812fbfd">GetDLSR</a> (int index) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the DLSR field of the reception report block described by <code>index</code> which may have a value from 0 to <a class="el" href="classRTCPSRPacket.html#9c067f0ce76ef9eb44f7bbc7bd7a73f6" title="Returns the number of reception report blocks present in this packet.">GetReceptionReportCount()</a>-1 (note that no check is performed to see if <code>index</code> is valid). <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ee4a0fb653512ea4d63de8b0e25072f9"></a><!-- doxytag: member="RTCPSRPacket::RTCPSRPacket" ref="ee4a0fb653512ea4d63de8b0e25072f9" args="(uint8_t *data, size_t datalength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RTCPSRPacket::RTCPSRPacket           </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>datalength</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates an instance based on the data in <code>data</code> with length <code>datalen</code>. Since the <code>data</code> pointer is referenced inside the class (no copy of the data is made) one must make sure that the memory it points to is valid as long as the class instance exists. 
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="abb2db0176b5322d784c9963361258fd"></a><!-- doxytag: member="RTCPSRPacket::GetNTPTimestamp" ref="abb2db0176b5322d784c9963361258fd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRTPNTPTime.html">RTPNTPTime</a> RTCPSRPacket::GetNTPTimestamp           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="9c067f0ce76ef9eb44f7bbc7bd7a73f6"></a><!-- doxytag: member="RTCPSRPacket::GetReceptionReportCount" ref="9c067f0ce76ef9eb44f7bbc7bd7a73f6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int RTCPSRPacket::GetReceptionReportCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="f64d743c62b042dae830e58753ff486d"></a><!-- doxytag: member="RTCPSRPacket::GetRTPTimestamp" ref="f64d743c62b042dae830e58753ff486d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t RTCPSRPacket::GetRTPTimestamp           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="7aaa0cc0410d8c6898ae4b1bc1f22c68"></a><!-- doxytag: member="RTCPSRPacket::GetSenderOctetCount" ref="7aaa0cc0410d8c6898ae4b1bc1f22c68" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t RTCPSRPacket::GetSenderOctetCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="72bd1603ac794b64e113ec9588a57acd"></a><!-- doxytag: member="RTCPSRPacket::GetSenderPacketCount" ref="72bd1603ac794b64e113ec9588a57acd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t RTCPSRPacket::GetSenderPacketCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="125ddc3aee38f723ce6cea31973a77dd"></a><!-- doxytag: member="RTCPSRPacket::GetSenderSSRC" ref="125ddc3aee38f723ce6cea31973a77dd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t RTCPSRPacket::GetSenderSSRC           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="rtcpsrpacket_8h_source.html">rtcpsrpacket.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 26 09:42:14 2009 for jrtplib by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>