37 #ifndef RTPSESSIONPARAMS_H 39 #define RTPSESSIONPARAMS_H 64 int SetUsePollThread(
bool usethread);
68 int SetNeedThreadSafety(
bool s);
105 receivemode = recvmode;
146 return resolvehostname;
152 sessionbandwidth = sessbw;
158 return sessionbandwidth;
202 usehalfatstartup = usehalf;
210 return usehalfatstartup;
244 sendermultiplier = m;
250 return sendermultiplier;
256 generaltimeoutmultiplier = m;
262 return generaltimeoutmultiplier;
268 byetimeoutmultiplier = m;
274 return byetimeoutmultiplier;
280 collisionmultiplier = m;
286 return collisionmultiplier;
298 return notemultiplier;
304 usepredefinedssrc = f;
310 return usepredefinedssrc;
316 predefinedssrc = ssrc;
322 return predefinedssrc;
340 return m_needThreadSafety;
373 #endif // RTPSESSIONPARAMS_H RTPTransmitter::ReceiveMode GetReceiveMode() const
bool IsUsingPollThread() const
void SetNoteTimeoutMultiplier(double m)
void SetSenderTimeoutMultiplier(double m)
std::size_t GetMaximumPacketSize() const
double GetOwnTimestampUnit() const
double GetControlTrafficFraction() const
void SetControlTrafficFraction(double frac)
double GetSenderTimeoutMultiplier() const
double GetCollisionTimeoutMultiplier() const
void SetResolveLocalHostname(bool v)
double GetSessionBandwidth() const
double byetimeoutmultiplier
void SetMaximumPacketSize(std::size_t max)
void SetCollisionTimeoutMultiplier(double m)
void SetRequestImmediateBYE(bool v)
bool GetUsePredefinedSSRC() const
double collisionmultiplier
void SetMinimumRTCPTransmissionInterval(const RTPTime &t)
bool GetResolveLocalHostname() const
bool GetSenderReportForBYE() const
double GetBYETimeoutMultiplier() const
void SetReceiveMode(RTPTransmitter::ReceiveMode recvmode)
std::string GetCNAME() const
void SetSenderControlBandwidthFraction(double frac)
double GetSourceTimeoutMultiplier() const
bool GetUseHalfRTCPIntervalAtStartup() const
void SetCNAME(const std::string &s)
void SetSourceTimeoutMultiplier(double m)
void SetUsePredefinedSSRC(bool f)
void SetOwnTimestampUnit(double tsunit)
void SetUseHalfRTCPIntervalAtStartup(bool usehalf)
void SetSenderReportForBYE(bool v)
bool NeedThreadSafety() const
void SetPredefinedSSRC(uint32_t ssrc)
void SetBYETimeoutMultiplier(double m)
bool AcceptOwnPackets() const
bool GetRequestImmediateBYE() const
RTPTime GetMinimumRTCPTransmissionInterval() const
void SetAcceptOwnPackets(bool accept)
double GetNoteTimeoutMultiplier() const
void SetSessionBandwidth(double sessbw)
double GetSenderControlBandwidthFraction() const
RTPTransmitter::ReceiveMode receivemode
double generaltimeoutmultiplier
uint32_t GetPredefinedSSRC() const
T max(const T &x, const T &y)