pub struct Qos {
pub video_bitrate_bps: u64,
pub audio_bitrate_bps: u64,
pub fps: f64,
pub total_frames: u64,
pub total_bytes: u64,
}Expand description
A point-in-time snapshot of a stream’s measured quality of service.
Fields§
§video_bitrate_bps: u64Video bitrate over the last ~1s window (bits/sec).
audio_bitrate_bps: u64Audio bitrate over the last ~1s window (bits/sec).
fps: f64Video frames per second over the last ~1s window.
total_frames: u64Cumulative frames published on this stream.
total_bytes: u64Cumulative payload bytes published on this stream.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Qos
impl RefUnwindSafe for Qos
impl Send for Qos
impl Sync for Qos
impl Unpin for Qos
impl UnsafeUnpin for Qos
impl UnwindSafe for Qos
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