pub struct GccShared {
pub target_bitrate_bps: Option<u32>,
pub estimate_bps: Option<u32>,
pub retransmission_reserve_bps: f64,
pub stats: EstimatorStats,
}Expand description
Shared state written by GccInterceptor and read by GccHandle.
Fields§
§target_bitrate_bps: Option<u32>The target for the original media, in bits per second: the estimate less the NACK
responder’s retransmission reserve (RFC 4588 section 7). None until the first TWCC
feedback has been processed.
estimate_bps: Option<u32>Latest estimated available send bandwidth, in bits per second: what the original media
and the retransmissions share. None until the first TWCC feedback has been processed.
retransmission_reserve_bps: f64The retransmission reserve the NACK responder announced last
(RetransmissionReserve), in bits per second.
stats: EstimatorStatsThe estimator’s two halves and its smoothed loss.
Auto Trait Implementations§
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