pub enum ThresholdTimeBase {
Arrival,
Departure,
ArrivalCapped,
}Expand description
Which time step the threshold adaptation of draft-ietf-rmcat-gcc-02 section 5.4 takes,
del_var_th(i) = del_var_th(i-1) + (t(i)-t(i-1)) * K(i) * (|m(i)| - del_var_th(i-1)).
Variants§
Arrival
The draft’s: t(i) is the arrival time of group i on the receiver’s clock (section 5.3), the step not capped.
Departure
The engine’s default: the gap between the times the groups’ readings are taken on the sender’s clock, capped at 100 ms.
ArrivalCapped
libwebrtc’s: the gap between the groups’ arrival times on the receiver’s clock, as the
draft’s, capped at 100 ms (TrendlineEstimator::UpdateThreshold,
modules/congestion_controller/goog_cc/trendline_estimator.cc: now_ms is the
packet’s receive_time, kMaxTimeDeltaMs 100).
Trait Implementations§
Source§impl Clone for ThresholdTimeBase
impl Clone for ThresholdTimeBase
impl Copy for ThresholdTimeBase
Source§impl Debug for ThresholdTimeBase
impl Debug for ThresholdTimeBase
Source§impl Default for ThresholdTimeBase
impl Default for ThresholdTimeBase
impl Eq for ThresholdTimeBase
Source§impl PartialEq for ThresholdTimeBase
impl PartialEq for ThresholdTimeBase
impl StructuralPartialEq for ThresholdTimeBase
Auto Trait Implementations§
impl Forget for ThresholdTimeBase
impl Freeze for ThresholdTimeBase
impl Move for ThresholdTimeBase
impl RefUnwindSafe for ThresholdTimeBase
impl Send for ThresholdTimeBase
impl Sync for ThresholdTimeBase
impl Unpin for ThresholdTimeBase
impl UnsafeUnpin for ThresholdTimeBase
impl UnwindSafe for ThresholdTimeBase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more