pub struct VideoPlaybackStats {
pub rendition: String,
pub size: Option<Size>,
pub fps: Option<u32>,
pub decode_time: Option<Duration>,
pub frames: u64,
pub skipped: u64,
}Expand description
The video decoder.
The running decoder backend is in PlayerStatus::decoder.
Fields§
§rendition: StringThe rendition on screen.
size: Option<Size>The decoded picture size.
fps: Option<u32>Frames shown per second, over the last second.
None before the first second of pictures, and from at most two
seconds after the last picture shown.
decode_time: Option<Duration>How long one transport read and decode take together, smoothed.
frames: u64Frames shown since the player started.
skipped: u64Access units the decoder refused and skipped.
Trait Implementations§
Source§impl Clone for VideoPlaybackStats
impl Clone for VideoPlaybackStats
Source§impl Debug for VideoPlaybackStats
impl Debug for VideoPlaybackStats
Source§impl Default for VideoPlaybackStats
impl Default for VideoPlaybackStats
impl Eq for VideoPlaybackStats
Source§impl PartialEq for VideoPlaybackStats
impl PartialEq for VideoPlaybackStats
impl StructuralPartialEq for VideoPlaybackStats
Auto Trait Implementations§
impl Freeze for VideoPlaybackStats
impl RefUnwindSafe for VideoPlaybackStats
impl Send for VideoPlaybackStats
impl Sync for VideoPlaybackStats
impl Unpin for VideoPlaybackStats
impl UnsafeUnpin for VideoPlaybackStats
impl UnwindSafe for VideoPlaybackStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.