pub struct MediaStats {Show 19 fields
pub sent: AtomicU64,
pub send_dropped: AtomicU64,
pub received: AtomicU64,
pub lost: AtomicU64,
pub shed: AtomicU64,
pub rebuilt: AtomicU64,
pub concealed: AtomicU64,
pub late: AtomicU64,
pub depth_ms: AtomicU32,
pub jitter_ms: AtomicU32,
pub clicks_cut: AtomicU64,
pub bitrate_kbps: AtomicU32,
pub net_loss: AtomicU32,
pub mic_level: AtomicU32,
pub peer_level: AtomicU32,
pub share_sent: AtomicU64,
pub share_received: AtomicU64,
pub next_seq: AtomicU32,
pub next_share_seq: AtomicU32,
}Fields§
§sent: AtomicU64§send_dropped: AtomicU64§received: AtomicU64§lost: AtomicU64Frames skipped over: a hole wider than FEC covers, or a jump past a backlog.
shed: AtomicU64Frames the buffer discarded on purpose to take latency back.
rebuilt: AtomicU64Frames rebuilt from the FEC data in their successor.
concealed: AtomicU64§late: AtomicU64§depth_ms: AtomicU32§jitter_ms: AtomicU32§clicks_cut: AtomicU64Cable clicks cut out of the microphone before encoding.
bitrate_kbps: AtomicU32What the encoder is sending at, in kbit/s.
net_loss: AtomicU32Packets the network dropped on the way out, percent of the last second (f32 bits).
mic_level: AtomicU32Loudness of what the microphone sends after processing, 0 to 1 (f32 bits).
peer_level: AtomicU32Loudness 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: AtomicU32The 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.