pub struct RecorderStats { /* private fields */ }Expand description
Owned recorder telemetry. Counts refer to packets rather than decoded samples.
Implementations§
Source§impl RecorderStats
impl RecorderStats
Sourcepub fn bytes_written(&self) -> u64
pub fn bytes_written(&self) -> u64
Bytes written.
Sourcepub fn video_frames_written(&self) -> u64
pub fn video_frames_written(&self) -> u64
Muxed video packet count.
Sourcepub fn audio_frames_written(&self) -> u64
pub fn audio_frames_written(&self) -> u64
Muxed audio packet count.
Sourcepub fn metadata_frames_written(&self) -> u64
pub fn metadata_frames_written(&self) -> u64
Muxed metadata packet count.
Sourcepub fn video_frames_dropped_by_receiver(&self) -> u64
pub fn video_frames_dropped_by_receiver(&self) -> u64
Video packets dropped by the receiver.
Sourcepub fn audio_frames_dropped_by_receiver(&self) -> u64
pub fn audio_frames_dropped_by_receiver(&self) -> u64
Audio packets dropped by the receiver.
Sourcepub fn metadata_frames_dropped_by_receiver(&self) -> u64
pub fn metadata_frames_dropped_by_receiver(&self) -> u64
Metadata packets dropped by the receiver.
Sourcepub fn video_frames_dropped_by_pipeline(&self) -> u64
pub fn video_frames_dropped_by_pipeline(&self) -> u64
Video packets dropped by the pipeline.
Sourcepub fn audio_frames_dropped_by_pipeline(&self) -> u64
pub fn audio_frames_dropped_by_pipeline(&self) -> u64
Audio packets dropped by the pipeline.
Sourcepub fn metadata_frames_dropped_by_pipeline(&self) -> u64
pub fn metadata_frames_dropped_by_pipeline(&self) -> u64
Metadata packets dropped by the pipeline.
Sourcepub fn frames_dropped_by_writer(&self) -> u64
pub fn frames_dropped_by_writer(&self) -> u64
Writer-stage drops across all tracks.
Sourcepub fn rollover_count(&self) -> u64
pub fn rollover_count(&self) -> u64
Completed rollover count.
Sourcepub fn recording_time(&self) -> FilePosition
pub fn recording_time(&self) -> FilePosition
Recorded duration reported by the SDK.
Sourcepub fn last_video_pts(&self) -> FilePosition
pub fn last_video_pts(&self) -> FilePosition
Last muxed video timestamp.
Sourcepub fn last_audio_pts(&self) -> FilePosition
pub fn last_audio_pts(&self) -> FilePosition
Last muxed audio timestamp.
Sourcepub fn last_metadata_pts(&self) -> FilePosition
pub fn last_metadata_pts(&self) -> FilePosition
Last muxed metadata timestamp.
Trait Implementations§
Source§impl Clone for RecorderStats
impl Clone for RecorderStats
impl Copy for RecorderStats
Source§impl Debug for RecorderStats
impl Debug for RecorderStats
Source§impl Default for RecorderStats
impl Default for RecorderStats
impl Eq for RecorderStats
Source§impl Hash for RecorderStats
impl Hash for RecorderStats
Source§impl PartialEq for RecorderStats
impl PartialEq for RecorderStats
impl StructuralPartialEq for RecorderStats
Auto Trait Implementations§
impl Freeze for RecorderStats
impl RefUnwindSafe for RecorderStats
impl Send for RecorderStats
impl Sync for RecorderStats
impl Unpin for RecorderStats
impl UnsafeUnpin for RecorderStats
impl UnwindSafe for RecorderStats
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