![]() |
SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <rtcpscheduler.h>
Collaboration diagram for qrtplib::RTCPSchedulerParams:Public Member Functions | |
| RTCPSchedulerParams () | |
| ~RTCPSchedulerParams () | |
| int | SetRTCPBandwidth (double bw) |
| double | GetRTCPBandwidth () const |
| int | SetSenderBandwidthFraction (double fraction) |
| double | GetSenderBandwidthFraction () const |
| int | SetMinimumTransmissionInterval (const RTPTime &t) |
| RTPTime | GetMinimumTransmissionInterval () const |
| void | SetUseHalfAtStartup (bool usehalf) |
| bool | GetUseHalfAtStartup () const |
| void | SetRequestImmediateBYE (bool v) |
| bool | GetRequestImmediateBYE () const |
Private Attributes | |
| double | bandwidth |
| double | senderfraction |
| RTPTime | mininterval |
| bool | usehalfatstartup |
| bool | immediatebye |
Describes parameters used by the RTCPScheduler class.
Definition at line 56 of file rtcpscheduler.h.
| qrtplib::RTCPSchedulerParams::RTCPSchedulerParams | ( | ) |
Definition at line 46 of file rtcpscheduler.cpp.
References bandwidth, qrtplib::RTPTimeInitializerObject::Dummy(), immediatebye, RTCP_DEFAULTHALFATSTARTUP, RTCP_DEFAULTIMMEDIATEBYE, RTCP_DEFAULTSENDERFRACTION, senderfraction, qrtplib::timeinit, and usehalfatstartup.
Here is the call graph for this function:| qrtplib::RTCPSchedulerParams::~RTCPSchedulerParams | ( | ) |
Definition at line 56 of file rtcpscheduler.cpp.
|
inline |
Returns the minimum RTCP transmission interval (default is 5 seconds).
Definition at line 84 of file rtcpscheduler.h.
Referenced by qrtplib::RTCPScheduler::CalculateBYETransmissionInterval(), and qrtplib::RTCPScheduler::CalculateDeterministicInterval().
Here is the caller graph for this function:
|
inline |
Returns if the scheduler will schedule a BYE packet to be sent immediately if allowed (default is true).
Definition at line 112 of file rtcpscheduler.h.
Referenced by qrtplib::RTCPScheduler::ScheduleBYEPacket().
Here is the caller graph for this function:
|
inline |
Returns the used RTCP bandwidth in bytes per second (default is 1000).
Definition at line 66 of file rtcpscheduler.h.
Referenced by qrtplib::RTCPScheduler::CalculateBYETransmissionInterval(), and qrtplib::RTCPScheduler::CalculateDeterministicInterval().
Here is the caller graph for this function:
|
inline |
Returns the fraction of the RTCP bandwidth reserved for senders (default is 25%).
Definition at line 75 of file rtcpscheduler.h.
Referenced by qrtplib::RTCPScheduler::CalculateBYETransmissionInterval(), and qrtplib::RTCPScheduler::CalculateDeterministicInterval().
Here is the caller graph for this function:
|
inline |
Returns true if only half the minimum interval should be used before sending the first RTCP compound packet (defualt is true).
Definition at line 98 of file rtcpscheduler.h.
Referenced by qrtplib::RTCPScheduler::CalculateBYETransmissionInterval(), and qrtplib::RTCPScheduler::CalculateDeterministicInterval().
Here is the caller graph for this function:| int qrtplib::RTCPSchedulerParams::SetMinimumTransmissionInterval | ( | const RTPTime & | t | ) |
Sets the minimum (deterministic) interval between RTCP compound packets to t.
Definition at line 76 of file rtcpscheduler.cpp.
References ERR_RTP_SCHEDPARAMS_BADMINIMUMINTERVAL, qrtplib::RTPTime::GetDouble(), mininterval, and RTCPSCHED_MININTERVAL.
Referenced by qrtplib::RTPSession::InternalCreate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
If v is true, the scheduler will schedule a BYE packet to be sent immediately if allowed.
Definition at line 104 of file rtcpscheduler.h.
Referenced by qrtplib::RTPSession::InternalCreate().
Here is the caller graph for this function:| int qrtplib::RTCPSchedulerParams::SetRTCPBandwidth | ( | double | bw | ) |
Sets the RTCP bandwidth to be used to bw (in bytes per second).
Definition at line 60 of file rtcpscheduler.cpp.
References bandwidth, and ERR_RTP_SCHEDPARAMS_INVALIDBANDWIDTH.
Referenced by qrtplib::RTPSession::InternalCreate(), and qrtplib::RTPSession::SetSessionBandwidth().
Here is the caller graph for this function:| int qrtplib::RTCPSchedulerParams::SetSenderBandwidthFraction | ( | double | fraction | ) |
Sets the fraction of the RTCP bandwidth reserved for senders to fraction.
Definition at line 68 of file rtcpscheduler.cpp.
References ERR_RTP_SCHEDPARAMS_BADFRACTION, and senderfraction.
Referenced by qrtplib::RTPSession::InternalCreate().
Here is the caller graph for this function:
|
inline |
If usehalf is true, only use half the minimum interval before sending the first RTCP compound packet.
Definition at line 90 of file rtcpscheduler.h.
Referenced by qrtplib::RTPSession::InternalCreate().
Here is the caller graph for this function:
|
private |
Definition at line 117 of file rtcpscheduler.h.
Referenced by RTCPSchedulerParams(), and SetRTCPBandwidth().
|
private |
Definition at line 121 of file rtcpscheduler.h.
Referenced by RTCPSchedulerParams().
|
private |
Definition at line 119 of file rtcpscheduler.h.
Referenced by SetMinimumTransmissionInterval().
|
private |
Definition at line 118 of file rtcpscheduler.h.
Referenced by RTCPSchedulerParams(), and SetSenderBandwidthFraction().
|
private |
Definition at line 120 of file rtcpscheduler.h.
Referenced by RTCPSchedulerParams().
1.8.13