<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>ccRTP: StaticPayloadFormat Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.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 Page</span></a></li> <li><a href="modules.html"><span>Modules</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="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>StaticPayloadFormat Class Reference<br> <small> [<a class="el" href="group__payload.html">Payload types and formats.</a>]</small> </h1><!-- doxytag: class="StaticPayloadFormat" --><!-- doxytag: inherits="PayloadFormat" -->Static payload format objects. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="formats_8h_source.html">formats.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for StaticPayloadFormat:</div> <div class="dynsection"> <p><center><img src="class_static_payload_format.png" usemap="#StaticPayloadFormat_map" border="0" alt=""></center> <map name="StaticPayloadFormat_map"> <area href="class_payload_format.html" alt="PayloadFormat" shape="rect" coords="0,0,128,24"> </map> </div> <p> <a href="class_static_payload_format-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_static_payload_format.html#e3d5df62bedbb9f6b5fcd584cae8a528">StaticPayloadFormat</a> (<a class="el" href="group__payload.html#g7644623ce29b8ca519d7e3f276b6ddc6">StaticPayloadType</a> type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#e3d5df62bedbb9f6b5fcd584cae8a528"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Static payload format objects. <p> Class of payload formats objects for payload types statically assigned. Because these payloads have an RTP clock rate assigned, it is not specified to the constructor. A call to StaticPayloadFormat(sptPCMU) will set the proper clock rate and any other parameters for that static payload type.<p> <dl class="author" compact><dt><b>Author:</b></dt><dd>Federico Montesino Pouzols <<a href="mailto:fedemp@altern.org">fedemp@altern.org</a>> </dd></dl> <dl compact><dt><b>Examples: </b></dt><dd> <p> <a class="el" href="audiorx_8cpp-example.html#_a2">audiorx.cpp</a>, <a class="el" href="audiotx_8cpp-example.html#_a2">audiotx.cpp</a>, <a class="el" href="ccrtptest_8cpp-example.html#_a1">ccrtptest.cpp</a>, <a class="el" href="rtpduphello_8cpp-example.html#_a1">rtpduphello.cpp</a>, <a class="el" href="rtphello_8cpp-example.html#_a4">rtphello.cpp</a>, <a class="el" href="rtplisten_8cpp-example.html#_a5">rtplisten.cpp</a>, and <a class="el" href="rtpsend_8cpp-example.html#_a5">rtpsend.cpp</a>.</dl><hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="e3d5df62bedbb9f6b5fcd584cae8a528"></a><!-- doxytag: member="StaticPayloadFormat::StaticPayloadFormat" ref="e3d5df62bedbb9f6b5fcd584cae8a528" args="(StaticPayloadType type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">StaticPayloadFormat::StaticPayloadFormat </td> <td>(</td> <td class="paramtype"><a class="el" href="group__payload.html#g7644623ce29b8ca519d7e3f276b6ddc6">StaticPayloadType</a> </td> <td class="paramname"> <em>type</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor. <p> Builds a payload format from a static payload binding identifier, assigning the numeric identifier and RTP clock rate statically bounded.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>Numeric identifier in the range 0-96. </td></tr> </table> </dl> <dl class="note" compact><dt><b>Note:</b></dt><dd>some identifiers are reserved. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="formats_8h_source.html">formats.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Fri Jul 24 21:42:26 2009 for ccRTP by <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>