pub struct MediaStats {Show 19 fields
pub sent: Atomic<u64>,
pub send_dropped: Atomic<u64>,
pub received: Atomic<u64>,
pub lost: Atomic<u64>,
pub shed: Atomic<u64>,
pub rebuilt: Atomic<u64>,
pub concealed: Atomic<u64>,
pub late: Atomic<u64>,
pub depth_ms: Atomic<u32>,
pub jitter_ms: Atomic<u32>,
pub clicks_cut: Atomic<u64>,
pub bitrate_kbps: Atomic<u32>,
pub net_loss: Atomic<u32>,
pub mic_level: Atomic<u32>,
pub peer_level: Atomic<u32>,
pub share_sent: Atomic<u64>,
pub share_received: Atomic<u64>,
pub next_seq: Atomic<u32>,
pub next_share_seq: Atomic<u32>,
}Fields§
§sent: Atomic<u64>§send_dropped: Atomic<u64>§received: Atomic<u64>§lost: Atomic<u64>Frames skipped over: a hole wider than FEC covers, or a jump past a backlog.
shed: Atomic<u64>Frames the buffer discarded on purpose to take latency back.
rebuilt: Atomic<u64>Frames rebuilt from the FEC data in their successor.
concealed: Atomic<u64>§late: Atomic<u64>§depth_ms: Atomic<u32>§jitter_ms: Atomic<u32>§clicks_cut: Atomic<u64>Cable clicks cut out of the microphone before encoding.
bitrate_kbps: Atomic<u32>What the encoder is sending at, in kbit/s.
net_loss: Atomic<u32>Packets the network dropped on the way out, percent of the last second (f32 bits).
mic_level: Atomic<u32>Loudness of what the microphone sends after processing, 0 to 1 (f32 bits).
peer_level: Atomic<u32>Loudness of what the peer sends, 0 to 1 (f32 bits).
A shared screen’s sound: frames sent and received on its own track.
next_seq: Atomic<u32>The next outgoing sequence number (u16). Lives here, not in the capture loop, so a restarted engine keeps counting: the peer drops everything numbered below what it last played, and a reset silences us until the count catches back up.
Implementations§
Trait Implementations§
Source§impl Default for MediaStats
impl Default for MediaStats
Source§fn default() -> MediaStats
fn default() -> MediaStats
Auto Trait Implementations§
impl !Freeze for MediaStats
impl RefUnwindSafe for MediaStats
impl Send for MediaStats
impl Sync for MediaStats
impl Unpin for MediaStats
impl UnsafeUnpin for MediaStats
impl UnwindSafe for MediaStats
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more