Sophie

Sophie

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

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: src/rtpsessionparams.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><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="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_e5298977290e638844c8018a73ab0caf.html">src</a>
  </div>
</div>
<div class="contents">
<h1>rtpsessionparams.h</h1><a href="rtpsessionparams_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"></span>
<a name="l00003"></a>00003 <span class="comment">  This file is a part of JRTPLIB</span>
<a name="l00004"></a>00004 <span class="comment">  Copyright (c) 1999-2007 Jori Liesenborgs</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">  Contact: jori.liesenborgs@gmail.com</span>
<a name="l00007"></a>00007 <span class="comment"></span>
<a name="l00008"></a>00008 <span class="comment">  This library was developed at the "Expertisecentrum Digitale Media"</span>
<a name="l00009"></a>00009 <span class="comment">  (http://www.edm.uhasselt.be), a research center of the Hasselt University</span>
<a name="l00010"></a>00010 <span class="comment">  (http://www.uhasselt.be). The library is based upon work done for </span>
<a name="l00011"></a>00011 <span class="comment">  my thesis at the School for Knowledge Technology (Belgium/The Netherlands).</span>
<a name="l00012"></a>00012 <span class="comment"></span>
<a name="l00013"></a>00013 <span class="comment">  Permission is hereby granted, free of charge, to any person obtaining a</span>
<a name="l00014"></a>00014 <span class="comment">  copy of this software and associated documentation files (the "Software"),</span>
<a name="l00015"></a>00015 <span class="comment">  to deal in the Software without restriction, including without limitation</span>
<a name="l00016"></a>00016 <span class="comment">  the rights to use, copy, modify, merge, publish, distribute, sublicense,</span>
<a name="l00017"></a>00017 <span class="comment">  and/or sell copies of the Software, and to permit persons to whom the</span>
<a name="l00018"></a>00018 <span class="comment">  Software is furnished to do so, subject to the following conditions:</span>
<a name="l00019"></a>00019 <span class="comment"></span>
<a name="l00020"></a>00020 <span class="comment">  The above copyright notice and this permission notice shall be included</span>
<a name="l00021"></a>00021 <span class="comment">  in all copies or substantial portions of the Software.</span>
<a name="l00022"></a>00022 <span class="comment"></span>
<a name="l00023"></a>00023 <span class="comment">  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS</span>
<a name="l00024"></a>00024 <span class="comment">  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span>
<a name="l00025"></a>00025 <span class="comment">  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL</span>
<a name="l00026"></a>00026 <span class="comment">  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
<a name="l00027"></a>00027 <span class="comment">  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span>
<a name="l00028"></a>00028 <span class="comment">  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS</span>
<a name="l00029"></a>00029 <span class="comment">  IN THE SOFTWARE.</span>
<a name="l00030"></a>00030 <span class="comment"></span>
<a name="l00031"></a>00031 <span class="comment">*/</span>
<a name="l00032"></a>00032 
<a name="l00037"></a>00037 <span class="preprocessor">#ifndef RTPSESSIONPARAMS_H</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="preprocessor">#define RTPSESSIONPARAMS_H</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span>
<a name="l00041"></a>00041 <span class="preprocessor">#include "rtpconfig.h"</span>
<a name="l00042"></a>00042 <span class="preprocessor">#include "rtptypes.h"</span>
<a name="l00043"></a>00043 <span class="preprocessor">#include "<a class="code" href="rtptransmitter_8h.html">rtptransmitter.h</a>"</span>
<a name="l00044"></a>00044 <span class="preprocessor">#include "<a class="code" href="rtptimeutilities_8h.html">rtptimeutilities.h</a>"</span>
<a name="l00045"></a>00045 <span class="preprocessor">#include "<a class="code" href="rtpsources_8h.html">rtpsources.h</a>"</span>
<a name="l00046"></a>00046 
<a name="l00051"></a><a class="code" href="classRTPSessionParams.html">00051</a> <span class="keyword">class </span><a class="code" href="classRTPSessionParams.html" title="Describes the parameters for to be used by an RTPSession instance.">RTPSessionParams</a>
<a name="l00052"></a>00052 {
<a name="l00053"></a>00053 <span class="keyword">public</span>:
<a name="l00054"></a>00054         <a class="code" href="classRTPSessionParams.html" title="Describes the parameters for to be used by an RTPSession instance.">RTPSessionParams</a>();
<a name="l00055"></a>00055         
<a name="l00059"></a>00059         <span class="keywordtype">int</span> <a class="code" href="classRTPSessionParams.html#a7c5d107791c0cf0468489d6046918dd" title="If usethread is true, the session will use a poll thread to automatically process...">SetUsePollThread</a>(<span class="keywordtype">bool</span> usethread);
<a name="l00060"></a>00060 
<a name="l00062"></a><a class="code" href="classRTPSessionParams.html#cebd973fdacb895d9822da5b72db5282">00062</a>         <span class="keywordtype">bool</span> <a class="code" href="classRTPSessionParams.html#cebd973fdacb895d9822da5b72db5282" title="Returns whether the session should use a poll thread or not (default is true).">IsUsingPollThread</a>()<span class="keyword"> const                                          </span>{ <span class="keywordflow">return</span> usepollthread; }
<a name="l00063"></a>00063 
<a name="l00065"></a><a class="code" href="classRTPSessionParams.html#4a3188faeb8d8298c8b3ee66d42a4ce5">00065</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#4a3188faeb8d8298c8b3ee66d42a4ce5" title="Sets the maximum allowed packet size for the session.">SetMaximumPacketSize</a>(<span class="keywordtype">size_t</span> max)                                   { maxpacksize = max; }
<a name="l00066"></a>00066 
<a name="l00068"></a><a class="code" href="classRTPSessionParams.html#b18dfcb648ba057a2df6010470d5ace6">00068</a>         <span class="keywordtype">size_t</span> <a class="code" href="classRTPSessionParams.html#b18dfcb648ba057a2df6010470d5ace6" title="Returns the maximum allowed packet size (default is 1400 bytes).">GetMaximumPacketSize</a>()<span class="keyword"> const                                     </span>{ <span class="keywordflow">return</span> maxpacksize; }
<a name="l00069"></a>00069 
<a name="l00073"></a><a class="code" href="classRTPSessionParams.html#39a500a498a3c04d48c565460e75af70">00073</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#39a500a498a3c04d48c565460e75af70" title="If the argument is true, the session should accept its own packets and store them...">SetAcceptOwnPackets</a>(<span class="keywordtype">bool</span> accept)                                   { acceptown = accept; }
<a name="l00074"></a>00074         
<a name="l00076"></a><a class="code" href="classRTPSessionParams.html#41af1e40190425e09b198648c51f8c38">00076</a>         <span class="keywordtype">bool</span> <a class="code" href="classRTPSessionParams.html#41af1e40190425e09b198648c51f8c38" title="Returns true if the session should accept its own packets (default is false).">AcceptOwnPackets</a>()<span class="keyword"> const                                           </span>{ <span class="keywordflow">return</span> acceptown; }
<a name="l00077"></a>00077 
<a name="l00079"></a><a class="code" href="classRTPSessionParams.html#a71b986e27370e01313e46c5750e3133">00079</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#a71b986e27370e01313e46c5750e3133" title="Sets the receive mode to be used by the session.">SetReceiveMode</a>(<a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa6386" title="Three kind of receive modes can be specified.">RTPTransmitter::ReceiveMode</a> recvmode)               { receivemode = recvmode; }
<a name="l00080"></a>00080 
<a name="l00082"></a><a class="code" href="classRTPSessionParams.html#8d2dc2bde9cf65fcc8445b73ac01ca82">00082</a>         <a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa6386" title="Three kind of receive modes can be specified.">RTPTransmitter::ReceiveMode</a> <a class="code" href="classRTPSessionParams.html#8d2dc2bde9cf65fcc8445b73ac01ca82" title="Sets the receive mode to be used by the session (default is: accept all packets)...">GetReceiveMode</a>()<span class="keyword"> const                      </span>{ <span class="keywordflow">return</span> receivemode; }
<a name="l00083"></a>00083 
<a name="l00090"></a><a class="code" href="classRTPSessionParams.html#7edf8de28827890508192680a733a8a0">00090</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#7edf8de28827890508192680a733a8a0" title="Sets the timestamp unit for our own data.">SetOwnTimestampUnit</a>(<span class="keywordtype">double</span> tsunit)                                 { owntsunit = tsunit; }
<a name="l00091"></a>00091 
<a name="l00093"></a><a class="code" href="classRTPSessionParams.html#468e1bec0777aa83284744f6a734274f">00093</a>         <span class="keywordtype">double</span> <a class="code" href="classRTPSessionParams.html#468e1bec0777aa83284744f6a734274f" title="Returns the currently set timestamp unit.">GetOwnTimestampUnit</a>()<span class="keyword"> const                                      </span>{ <span class="keywordflow">return</span> owntsunit; }
<a name="l00094"></a>00094 
<a name="l00100"></a><a class="code" href="classRTPSessionParams.html#7ff2bb9cb3492a60edf695d8bc9192af">00100</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#7ff2bb9cb3492a60edf695d8bc9192af" title="Sets a flag indicating if a DNS lookup should be done to determine our hostname (to...">SetResolveLocalHostname</a>(<span class="keywordtype">bool</span> v)                                    { resolvehostname = v; }
<a name="l00101"></a>00101 
<a name="l00105"></a><a class="code" href="classRTPSessionParams.html#2a1d40ef72453749f420cfbd2383b855">00105</a>         <span class="keywordtype">bool</span> <a class="code" href="classRTPSessionParams.html#2a1d40ef72453749f420cfbd2383b855" title="Returns whether the local hostname should be determined from the transmitter&amp;#39;s...">GetResolveLocalHostname</a>()<span class="keyword"> const                                    </span>{ <span class="keywordflow">return</span> resolvehostname; }
<a name="l00106"></a>00106 <span class="preprocessor">#ifdef RTP_SUPPORT_PROBATION</span>
<a name="l00107"></a>00107 <span class="preprocessor"></span>
<a name="l00108"></a><a class="code" href="classRTPSessionParams.html#39d54ea93e92cd13364d3e969b9e4d50">00108</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#39d54ea93e92cd13364d3e969b9e4d50" title="If probation support is enabled, this function sets the probation type to be used...">SetProbationType</a>(<a class="code" href="classRTPSources.html#c56d7cb0238003c4e803471d1889ff35" title="Type of probation to use for new sources.">RTPSources::ProbationType</a> probtype)               { probationtype = probtype; }
<a name="l00109"></a>00109 
<a name="l00111"></a><a class="code" href="classRTPSessionParams.html#e91a57ccdfb5599221e148ac6683b4c2">00111</a>         <a class="code" href="classRTPSources.html#c56d7cb0238003c4e803471d1889ff35" title="Type of probation to use for new sources.">RTPSources::ProbationType</a> <a class="code" href="classRTPSessionParams.html#e91a57ccdfb5599221e148ac6683b4c2" title="Returns the probation type which will be used (default is RTPSources::ProbationStore)...">GetProbationType</a>()<span class="keyword"> const                      </span>{ <span class="keywordflow">return</span> probationtype; }
<a name="l00112"></a>00112 <span class="preprocessor">#endif // RTP_SUPPORT_PROBATION</span>
<a name="l00113"></a>00113 <span class="preprocessor"></span>
<a name="l00115"></a><a class="code" href="classRTPSessionParams.html#5f0c266b6b21eea3d94ccc816193d078">00115</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#5f0c266b6b21eea3d94ccc816193d078" title="Sets the session bandwidth in bytes per second.">SetSessionBandwidth</a>(<span class="keywordtype">double</span> sessbw)                                 { sessionbandwidth = sessbw; }
<a name="l00116"></a>00116 
<a name="l00118"></a><a class="code" href="classRTPSessionParams.html#61965713190d0ee846a45fc63276aede">00118</a>         <span class="keywordtype">double</span> <a class="code" href="classRTPSessionParams.html#61965713190d0ee846a45fc63276aede" title="Returns the session bandwidth in bytes per second (default is 10000 bytes per second)...">GetSessionBandwidth</a>()<span class="keyword"> const                                      </span>{ <span class="keywordflow">return</span> sessionbandwidth; }
<a name="l00119"></a>00119 
<a name="l00121"></a><a class="code" href="classRTPSessionParams.html#cfeff2c7f0fb34822826868ad51e841a">00121</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#cfeff2c7f0fb34822826868ad51e841a" title="Sets the fraction of the session bandwidth to be used for control traffic.">SetControlTrafficFraction</a>(<span class="keywordtype">double</span> frac)                             { controlfrac = frac; }
<a name="l00122"></a>00122 
<a name="l00124"></a><a class="code" href="classRTPSessionParams.html#0c2666007ab05e4d7e6cf913b562bfc8">00124</a>         <span class="keywordtype">double</span> <a class="code" href="classRTPSessionParams.html#0c2666007ab05e4d7e6cf913b562bfc8" title="Returns the fraction of the session bandwidth that will be used for control traffic...">GetControlTrafficFraction</a>()<span class="keyword"> const                                </span>{ <span class="keywordflow">return</span> controlfrac; }
<a name="l00125"></a>00125 
<a name="l00127"></a><a class="code" href="classRTPSessionParams.html#73229616f32a7bd93210b8571d89d133">00127</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#73229616f32a7bd93210b8571d89d133" title="Sets the minimum fraction of the control traffic that will be used by senders.">SetSenderControlBandwidthFraction</a>(<span class="keywordtype">double</span> frac)                     { senderfrac = frac; }
<a name="l00128"></a>00128 
<a name="l00130"></a><a class="code" href="classRTPSessionParams.html#80c40900663e370b8f44743081aa47ec">00130</a>         <span class="keywordtype">double</span> <a class="code" href="classRTPSessionParams.html#80c40900663e370b8f44743081aa47ec" title="Returns the minimum fraction of the control traffic that will be used by senders...">GetSenderControlBandwidthFraction</a>()<span class="keyword"> const                        </span>{ <span class="keywordflow">return</span> senderfrac; }
<a name="l00131"></a>00131 
<a name="l00133"></a><a class="code" href="classRTPSessionParams.html#764e4ad0484d781914af79eba6ec1276">00133</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#764e4ad0484d781914af79eba6ec1276" title="Set the minimal time interval between sending RTCP packets.">SetMinimumRTCPTransmissionInterval</a>(<span class="keyword">const</span> <a class="code" href="classRTPTime.html" title="This class is used to specify wallclock time, delay intervals etc.">RTPTime</a> &amp;t)               { mininterval = t; }
<a name="l00134"></a>00134 
<a name="l00136"></a><a class="code" href="classRTPSessionParams.html#be22d5c9845f337a833337f2fc7a7473">00136</a>         <a class="code" href="classRTPTime.html" title="This class is used to specify wallclock time, delay intervals etc.">RTPTime</a> <a class="code" href="classRTPSessionParams.html#be22d5c9845f337a833337f2fc7a7473" title="Returns the minimal time interval between sending RTCP packets (default is 5 seconds)...">GetMinimumRTCPTransmissionInterval</a>()<span class="keyword"> const                      </span>{ <span class="keywordflow">return</span> mininterval; }
<a name="l00137"></a>00137 
<a name="l00141"></a><a class="code" href="classRTPSessionParams.html#6fdcc9976d5c7228ad493d3cd04a9bc0">00141</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#6fdcc9976d5c7228ad493d3cd04a9bc0" title="If usehalf is set to true, the session will only wait half of the calculated RTCP...">SetUseHalfRTCPIntervalAtStartup</a>(<span class="keywordtype">bool</span> usehalf)                      { usehalfatstartup = usehalf; }
<a name="l00142"></a>00142 
<a name="l00146"></a><a class="code" href="classRTPSessionParams.html#d64b9bcb22d8fedd4d58869952a9896d">00146</a>         <span class="keywordtype">bool</span> <a class="code" href="classRTPSessionParams.html#d64b9bcb22d8fedd4d58869952a9896d" title="Returns whether the session will only wait half of the calculated RTCP interval before...">GetUseHalfRTCPIntervalAtStartup</a>()<span class="keyword"> const                            </span>{ <span class="keywordflow">return</span> usehalfatstartup; }
<a name="l00147"></a>00147 
<a name="l00149"></a><a class="code" href="classRTPSessionParams.html#8161e8ce0de7d499d80869f4ff0e4e49">00149</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#8161e8ce0de7d499d80869f4ff0e4e49" title="If v is true, the session will send a BYE packet immediately if this is allowed.">SetRequestImmediateBYE</a>(<span class="keywordtype">bool</span> v)                                     { immediatebye = v; }
<a name="l00150"></a>00150 
<a name="l00152"></a><a class="code" href="classRTPSessionParams.html#19c26901c79a63dbea5054d2d4db40e2">00152</a>         <span class="keywordtype">bool</span> <a class="code" href="classRTPSessionParams.html#19c26901c79a63dbea5054d2d4db40e2" title="Returns whether the session should send a BYE packet immediately (if allowed) or...">GetRequestImmediateBYE</a>()<span class="keyword"> const                                     </span>{ <span class="keywordflow">return</span> immediatebye; }
<a name="l00153"></a>00153 
<a name="l00157"></a><a class="code" href="classRTPSessionParams.html#9e9cf714c22f500f68587ffaeb816000">00157</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#9e9cf714c22f500f68587ffaeb816000" title="When sending a BYE packet, this indicates whether it will be part of an RTCP compound...">SetSenderReportForBYE</a>(<span class="keywordtype">bool</span> v)                                      { SR_BYE = v; }
<a name="l00158"></a>00158 
<a name="l00162"></a><a class="code" href="classRTPSessionParams.html#b5c13d3d92c3a4700e319880cf9fb289">00162</a>         <span class="keywordtype">bool</span> <a class="code" href="classRTPSessionParams.html#b5c13d3d92c3a4700e319880cf9fb289" title="Returns true if a BYE packet will be sent in an RTCP compound packet which starts...">GetSenderReportForBYE</a>()<span class="keyword"> const                                      </span>{ <span class="keywordflow">return</span> SR_BYE; }
<a name="l00163"></a>00163         
<a name="l00165"></a><a class="code" href="classRTPSessionParams.html#373c940ccb039dd10878cafdb603ba81">00165</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#373c940ccb039dd10878cafdb603ba81" title="Sets the multiplier to be used when timing out senders.">SetSenderTimeoutMultiplier</a>(<span class="keywordtype">double</span> m)                               { sendermultiplier = m; }
<a name="l00166"></a>00166 
<a name="l00168"></a><a class="code" href="classRTPSessionParams.html#9ad3b05b2974aaae3049e746f7c26711">00168</a>         <span class="keywordtype">double</span> <a class="code" href="classRTPSessionParams.html#9ad3b05b2974aaae3049e746f7c26711" title="Returns the multiplier to be used when timing out senders (default is 2).">GetSenderTimeoutMultiplier</a>()<span class="keyword"> const                               </span>{ <span class="keywordflow">return</span> sendermultiplier; }
<a name="l00169"></a>00169 
<a name="l00171"></a><a class="code" href="classRTPSessionParams.html#b56bc31fd4d5e77e43f7d409b8b92549">00171</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#b56bc31fd4d5e77e43f7d409b8b92549" title="Sets the multiplier to be used when timing out members.">SetSourceTimeoutMultiplier</a>(<span class="keywordtype">double</span> m)                               { generaltimeoutmultiplier = m; }
<a name="l00172"></a>00172 
<a name="l00174"></a><a class="code" href="classRTPSessionParams.html#3a9bb38fa05b15640b8be464a96a2a08">00174</a>         <span class="keywordtype">double</span> <a class="code" href="classRTPSessionParams.html#3a9bb38fa05b15640b8be464a96a2a08" title="Returns the multiplier to be used when timing out members (default is 5).">GetSourceTimeoutMultiplier</a>()<span class="keyword"> const                               </span>{ <span class="keywordflow">return</span> generaltimeoutmultiplier; }
<a name="l00175"></a>00175 
<a name="l00177"></a><a class="code" href="classRTPSessionParams.html#d96d174019cd8cb1d33f60905db3c1c1">00177</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#d96d174019cd8cb1d33f60905db3c1c1" title="Sets the multiplier to be used when timing out a member after it has sent a BYE packet...">SetBYETimeoutMultiplier</a>(<span class="keywordtype">double</span> m)                                  { byetimeoutmultiplier = m; }
<a name="l00178"></a>00178 
<a name="l00180"></a><a class="code" href="classRTPSessionParams.html#3c50d39d59e003d2f9ded3d4a7e21b77">00180</a>         <span class="keywordtype">double</span> <a class="code" href="classRTPSessionParams.html#3c50d39d59e003d2f9ded3d4a7e21b77" title="Returns the multiplier to be used when timing out a member after it has sent a BYE...">GetBYETimeoutMultiplier</a>()<span class="keyword"> const                                  </span>{ <span class="keywordflow">return</span> byetimeoutmultiplier; }
<a name="l00181"></a>00181 
<a name="l00183"></a><a class="code" href="classRTPSessionParams.html#3379581ac26d384fade3a3342ba82131">00183</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#3379581ac26d384fade3a3342ba82131" title="Sets the multiplier to be used when timing out entries in the collision table.">SetCollisionTimeoutMultiplier</a>(<span class="keywordtype">double</span> m)                            { collisionmultiplier = m; }
<a name="l00184"></a>00184 
<a name="l00186"></a><a class="code" href="classRTPSessionParams.html#f5029158926c9a980f3c28afe07a77f7">00186</a>         <span class="keywordtype">double</span> <a class="code" href="classRTPSessionParams.html#f5029158926c9a980f3c28afe07a77f7" title="Returns the multiplier to be used when timing out entries in the collision table...">GetCollisionTimeoutMultiplier</a>()<span class="keyword"> const                            </span>{ <span class="keywordflow">return</span> collisionmultiplier; }
<a name="l00187"></a>00187 
<a name="l00189"></a><a class="code" href="classRTPSessionParams.html#a7372afaef53fbf50375b6079626bccf">00189</a>         <span class="keywordtype">void</span> <a class="code" href="classRTPSessionParams.html#a7372afaef53fbf50375b6079626bccf" title="Sets the multiplier to be used when timing out SDES NOTE information.">SetNoteTimeoutMultiplier</a>(<span class="keywordtype">double</span> m)                                 { notemultiplier = m; }
<a name="l00190"></a>00190 
<a name="l00192"></a><a class="code" href="classRTPSessionParams.html#3f08ab35c35086277a937ccfa407fea8">00192</a>         <span class="keywordtype">double</span> <a class="code" href="classRTPSessionParams.html#3f08ab35c35086277a937ccfa407fea8" title="Returns the multiplier to be used when timing out SDES NOTE information (default...">GetNoteTimeoutMultiplier</a>()<span class="keyword"> const                                 </span>{ <span class="keywordflow">return</span> notemultiplier; }
<a name="l00193"></a>00193 <span class="keyword">private</span>:
<a name="l00194"></a>00194         <span class="keywordtype">bool</span> acceptown;
<a name="l00195"></a>00195         <span class="keywordtype">bool</span> usepollthread;
<a name="l00196"></a>00196         <span class="keywordtype">size_t</span> maxpacksize;
<a name="l00197"></a>00197         <span class="keywordtype">double</span> owntsunit;
<a name="l00198"></a>00198         <a class="code" href="classRTPTransmitter.html#bae77e9adf52db77f5ea29757dfa6386" title="Three kind of receive modes can be specified.">RTPTransmitter::ReceiveMode</a> receivemode;
<a name="l00199"></a>00199         <span class="keywordtype">bool</span> resolvehostname;
<a name="l00200"></a>00200 <span class="preprocessor">#ifdef RTP_SUPPORT_PROBATION</span>
<a name="l00201"></a>00201 <span class="preprocessor"></span>        <a class="code" href="classRTPSources.html#c56d7cb0238003c4e803471d1889ff35" title="Type of probation to use for new sources.">RTPSources::ProbationType</a> probationtype;
<a name="l00202"></a>00202 <span class="preprocessor">#endif // RTP_SUPPORT_PROBATION</span>
<a name="l00203"></a>00203 <span class="preprocessor"></span>        
<a name="l00204"></a>00204         <span class="keywordtype">double</span> sessionbandwidth;
<a name="l00205"></a>00205         <span class="keywordtype">double</span> controlfrac;
<a name="l00206"></a>00206         <span class="keywordtype">double</span> senderfrac;
<a name="l00207"></a>00207         <a class="code" href="classRTPTime.html" title="This class is used to specify wallclock time, delay intervals etc.">RTPTime</a> mininterval;
<a name="l00208"></a>00208         <span class="keywordtype">bool</span> usehalfatstartup;
<a name="l00209"></a>00209         <span class="keywordtype">bool</span> immediatebye;
<a name="l00210"></a>00210         <span class="keywordtype">bool</span> SR_BYE;
<a name="l00211"></a>00211 
<a name="l00212"></a>00212         <span class="keywordtype">double</span> sendermultiplier;
<a name="l00213"></a>00213         <span class="keywordtype">double</span> generaltimeoutmultiplier;
<a name="l00214"></a>00214         <span class="keywordtype">double</span> byetimeoutmultiplier;
<a name="l00215"></a>00215         <span class="keywordtype">double</span> collisionmultiplier;
<a name="l00216"></a>00216         <span class="keywordtype">double</span> notemultiplier;
<a name="l00217"></a>00217 };
<a name="l00218"></a>00218 
<a name="l00219"></a>00219 <span class="preprocessor">#endif // RTPSESSIONPARAMS_H</span>
<a name="l00220"></a>00220 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 26 09:42:08 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>