37 #ifndef RTCPSCHEDULER_H 39 #define RTCPSCHEDULER_H 51 class RTCPCompoundPacket;
63 int SetRTCPBandwidth(
double bw);
72 int SetSenderBandwidthFraction(
double fraction);
77 return senderfraction;
81 int SetMinimumTransmissionInterval(
const RTPTime &t);
92 usehalfatstartup = usehalf;
100 return usehalfatstartup;
144 schedparams = params;
156 headeroverhead = numbytes;
162 return headeroverhead;
172 void ActiveMemberDecrease();
177 void ScheduleBYEPacket(std::size_t packetsize);
183 RTPTime GetTransmissionDelay();
196 RTPTime CalculateDeterministicInterval(
bool sender =
false);
198 void CalculateNextRTCPTime();
199 void PerformReverseReconsideration();
200 RTPTime CalculateBYETransmissionInterval();
201 RTPTime CalculateTransmissionInterval(
bool sender);
224 #endif // RTCPSCHEDULER_H
void SetHeaderOverhead(std::size_t numbytes)
void SetRequestImmediateBYE(bool v)
RTCPSchedulerParams GetParameters() const
bool GetRequestImmediateBYE() const
std::size_t avgbyepacketsize
void SetUseHalfAtStartup(bool usehalf)
double GetRTCPBandwidth() const
bool GetUseHalfAtStartup() const
std::size_t headeroverhead
RTPTime GetMinimumTransmissionInterval() const
RTCPSchedulerParams schedparams
void SetParameters(const RTCPSchedulerParams ¶ms)
std::size_t avgrtcppacksize
std::size_t GetHeaderOverhead() const
double GetSenderBandwidthFraction() const