pub struct Decision {
pub max_bitrate_kbps: u32,
pub fec_delta_pct: u32,
pub fec_key_pct: u32,
pub suggested_fps: u32,
pub reason: &'static str,
pub bitrate_changed: bool,
pub fec_changed: bool,
}Fields§
§max_bitrate_kbps: u32§fec_delta_pct: u32§fec_key_pct: u32§suggested_fps: u32§reason: &'static strWhy this decision was taken: loss, latency, backlog, residual,
recover, fec-down, steady.
bitrate_changed: boolThe bitrate moved (the publisher should be told).
fec_changed: boolThe FEC rates moved (the sender applies them at the next frame).
Trait Implementations§
impl Copy for Decision
impl Eq for Decision
impl StructuralPartialEq for Decision
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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