pub enum Reason {
Show 14 variants
NotHappening,
DTLS,
Ice,
Sctp,
Channel,
Stats,
Feedback,
Nack,
Twcc,
PauseCheck,
SendStream,
Packetize,
Pacing,
Bwe,
}Expand description
The reason for the next Output::Timeout.
Variants§
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.
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.
Pacing
Paced sending of RTP packets (if BWE is enabled).
The pacer ensures bigger RTP chunks, like keyframes, are not sent as a burst, but sent smoothly.
Bwe
Bandwidth estimation update (if enabled).
Calculations regarding sender bandwidth using incoming TWCC.
Trait Implementations§
impl Copy for Reason
impl Eq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnwindSafe for Reason
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)