Struct PlaybackStats
pub struct PlaybackStats {
pub video: Option<VideoPlaybackStats>,
pub audio: Option<AudioPlaybackStats>,
pub latency: Duration,
pub network: Option<NetworkSample>,
}Expand description
What a Player is playing.
Fields§
§video: Option<VideoPlaybackStats>The video decoder, while video plays.
audio: Option<AudioPlaybackStats>The audio decoder, while audio plays.
latency: DurationHow far behind the live edge playback runs.
This is the playout clock’s delay: the latency’s minimum, raised by the
catalog delay and jitter and by the jitter the audio decoder measures.
network: Option<NetworkSample>A reading of the link, if the broadcast has network signals.
Implementations§
§impl PlaybackStats
impl PlaybackStats
Trait Implementations§
§impl Clone for PlaybackStats
impl Clone for PlaybackStats
§fn clone(&self) -> PlaybackStats
fn clone(&self) -> PlaybackStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PlaybackStats
impl Debug for PlaybackStats
§impl Default for PlaybackStats
impl Default for PlaybackStats
§fn default() -> PlaybackStats
fn default() -> PlaybackStats
Returns the “default value” for a type. Read more
§impl PartialEq for PlaybackStats
impl PartialEq for PlaybackStats
impl StructuralPartialEq for PlaybackStats
Auto Trait Implementations§
impl Freeze for PlaybackStats
impl RefUnwindSafe for PlaybackStats
impl Send for PlaybackStats
impl Sync for PlaybackStats
impl Unpin for PlaybackStats
impl UnsafeUnpin for PlaybackStats
impl UnwindSafe for PlaybackStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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