#[non_exhaustive]pub struct VideoSendStats {Show 15 fields
pub frames_sent: BTreeMap<String, u64>,
pub packets_sent: u64,
pub keyframes_sent: u64,
pub frames_not_sent: u64,
pub malformed: u64,
pub keyframes_asked: u64,
pub sfu_keyframe_requests: u64,
pub sfu_keyframe_requests_by_layer: BTreeMap<String, u64>,
pub republishes: u64,
pub estimate_bps: u64,
pub frames_by_codec: BTreeMap<String, u64>,
pub keyframes_by_codec: BTreeMap<String, u64>,
pub backup_starts: u64,
pub backup_stops: u64,
pub backup_ms: u64,
}Expand description
Video publishing: the engine’s frame API (Call::publish_video) and its types.
Video publishing: the engine’s frame API (Call::publish_video) and its types.
Video publishing: the engine’s frame API (Call::publish_video) and its types.
The send-side video counters (crate::Call::video_stats).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.frames_sent: BTreeMap<String, u64>Frames encrypted and sent, per source/rid.
packets_sent: u64Packets written.
keyframes_sent: u64Keyframes sent.
frames_not_sent: u64Frames not sent: the layer paused (dynacast or the split), no send path yet, no key, waiting for a keyframe, or the producer’s queue full.
malformed: u64H.264 access units that broke the bitstream rules (dropped).
keyframes_asked: u64Keyframes asked of the producer (the SFU’s requests, resumes).
sfu_keyframe_requests: u64The SFU’s keyframe requests (PLI and FIR).
sfu_keyframe_requests_by_layer: BTreeMap<String, u64>The SFU’s keyframe requests per source/rid (source/backup/rid for a backup’s layer;
a request naming no layer counts on each of its section’s layers).
republishes: u64Republications after a policy change (or a fall back to one codec).
estimate_bps: u64The latest send-side estimate, bit/s.
frames_by_codec: BTreeMap<String, u64>Frames sent per codec (vp8, h264), every source and layer (frames_sent keys a
backup’s layers source/backup/rid).
keyframes_by_codec: BTreeMap<String, u64>Keyframes sent per codec.
backup_starts: u64Times a backup started (some subscriber needed it).
backup_stops: u64Times a backup stopped (nobody needed it, a republish).
backup_ms: u64How long the backups have run in all, ms.
Trait Implementations§
Source§impl Clone for VideoSendStats
impl Clone for VideoSendStats
Source§impl Debug for VideoSendStats
impl Debug for VideoSendStats
Source§impl Default for VideoSendStats
impl Default for VideoSendStats
impl Eq for VideoSendStats
Source§impl PartialEq for VideoSendStats
impl PartialEq for VideoSendStats
Source§impl Serialize for VideoSendStats
impl Serialize for VideoSendStats
impl StructuralPartialEq for VideoSendStats
Auto Trait Implementations§
impl Forget for VideoSendStats
impl Freeze for VideoSendStats
impl Move for VideoSendStats
impl RefUnwindSafe for VideoSendStats
impl Send for VideoSendStats
impl Sync for VideoSendStats
impl Unpin for VideoSendStats
impl UnsafeUnpin for VideoSendStats
impl UnwindSafe for VideoSendStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CryptoSafe for T
impl<T> CryptoSafe for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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