oa::video::VideoPlayerStats

Observable counters for one player lifetime.

StRust public API

Declaration

pub struct VideoPlayerStats { pub presented_frames: u64, pub decoded_packets: u64, pub seek_resets: u64, pub loop_restarts: u64, pub seek_replay_frames: u64, pub presentation_cache_hits: u64, pub presentation_cache_misses: u64, pub presentation_cache_resident: usize, pub presentation_cache_capacity: usize, }
Public Rust declaration.

Public Methods

fn clone(&self) -> VideoPlayerStats
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &VideoPlayerStats) -> bool

Associated Functions

fn default() -> VideoPlayerStats

Public Data Members

presented_framesu64field
decoded_packetsu64field
seek_resetsu64field
loop_restartsu64field
seek_replay_framesu64field
presentation_cache_hitsu64field
presentation_cache_missesu64field
presentation_cache_residentusizefield
presentation_cache_capacityusizefield

Public Method Documentation

fn clone( &self ) -> VideoPlayerStats
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &VideoPlayerStats ) -> bool
No public source comment is attached to this declaration.
fn default() -> VideoPlayerStats
No public source comment is attached to this declaration.