This class determines when RTCP compound packets should be sent.
More...
#include <rtcpscheduler.h>
◆ RTCPScheduler()
RTCPScheduler::RTCPScheduler |
( |
RTPSources & |
sources | ) |
|
Creates an instance which will use the source table RTPSources to determine when RTCP compound packets should be scheduled. Note that for correct operation the sources
instance should have information about the own SSRC (added by RTPSources::CreateOwnSSRC).
◆ ActiveMemberDecrease()
void RTCPScheduler::ActiveMemberDecrease |
( |
| ) |
|
◆ AnalyseIncoming()
◆ AnalyseOutgoing()
◆ CalculateDeterministicInterval()
RTPTime RTCPScheduler::CalculateDeterministicInterval |
( |
bool |
sender = false | ) |
|
Calculates the deterministic interval at this time. This is used - in combination with a certain multiplier - to time out members, senders etc.
◆ GetHeaderOverhead()
size_t RTCPScheduler::GetHeaderOverhead |
( |
| ) |
const |
|
inline |
◆ GetParameters()
◆ GetTransmissionDelay()
RTPTime RTCPScheduler::GetTransmissionDelay |
( |
| ) |
|
Returns the delay after which an RTCP compound will possibly have to be sent. The IsTime member function should be called afterwards to make sure that it actually is time to send an RTCP compound packet.
◆ IsTime()
bool RTCPScheduler::IsTime |
( |
| ) |
|
This function returns true
if it's time to send an RTCP compound packet and false
otherwise. If the function returns true
, it will also have calculated the next time at which a packet should be sent, so if it is called again right away, it will return false
.
◆ Reset()
void RTCPScheduler::Reset |
( |
| ) |
|
◆ SetHeaderOverhead()
void RTCPScheduler::SetHeaderOverhead |
( |
size_t |
numbytes | ) |
|
|
inline |
◆ SetParameters()
The documentation for this class was generated from the following file: