#[non_exhaustive]pub enum Reason {
Show 17 variants
NotHappening,
DTLS,
Ice,
Sctp,
Channel,
Stats,
Feedback,
Nack,
Twcc,
PauseCheck,
SendStream,
Packetize,
ReceiveReorder,
Pacer(PacerReason),
BweDelayControl,
BweProbeControl,
BweProbeEstimator,
}Expand description
The reason for the next Output::Timeout.
This enum is not considered stable API and may change in minor revisions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NotHappening
No timeout scheduled.
The timeout value is in the distant future.
DTLS
The DTLS subsystem.
Only relevant during handshaking.
Ice
The ICE agent.
Includes checking candidate pairs and various cleanups.
Sctp
The SCTP subsystem.
Things like handling retransmissions and keep-alive checks.
Channel
Data channels.
Scheduled when we need to open allocations using SCTP.
Stats
Stats gathering (if enabled).
Periodic gathering of statistics.
Feedback
Regular RTP feedback.
Receiver reports (RR) and sender reports (SR).
Nack
Sending of RTP NACK.
When missing packets are discovered, a NACK is scheduled. Retries for each packet wait for the receive-stream RTT plus 5 ms, using a 100 ms RTT until a measurement is available.
Twcc
Reporting of TWCC (if enabled).
All incoming RTP packets are reported using TWCC. Enabled via SDP if both sides support it.
PauseCheck
RTP streams not receiving data goes into a paused state.
Whenever an RTP receive stream receives data, a new timeout is scheduled.
SendStream
Preprocessing of RTP packets to be sent.
Housekeeping task in RTP send streams.
Packetize
Packetizing of media into RTP data (if used).
Written media data needs packetizing. This is not used in RTP mode.
ReceiveReorder
A complete video frame is waiting for missing earlier packets or its timeout.
Pacer(PacerReason)
Pacer doing things.
BweDelayControl
The delay controller of the BWE subsystem.
BweProbeControl
The probe controller of the BWE subsystem.
BweProbeEstimator
The probe estimator of the BWE subsystem.