pub struct QosMessage {
pub jitter_ns: i64,
pub running_time_ns: u64,
}Expand description
Downstream-originated quality-of-service signal: a synchronising sink is
running behind the pipeline clock and dropped a late frame. Travels upstream
along a link’s reverse channel and is surfaced to the producing element as a
PushOutcome::Qos, so a source / decoder can shed load (skip frames) to let
the pipeline catch up. The GStreamer QoS event analog (the
BusMessage::Qos report is the out-of-band sibling
the application observes).
Fields§
§jitter_ns: i64How far past its deadline the dropped frame was, ns. Positive is late (behind the clock); the producer skips roughly this much stream time to catch up.
running_time_ns: u64Running time (PTS) of the late frame, for reference.
Trait Implementations§
Source§impl Clone for QosMessage
impl Clone for QosMessage
Source§fn clone(&self) -> QosMessage
fn clone(&self) -> QosMessage
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 moreimpl Copy for QosMessage
Source§impl Debug for QosMessage
impl Debug for QosMessage
impl Eq for QosMessage
Source§impl PartialEq for QosMessage
impl PartialEq for QosMessage
impl StructuralPartialEq for QosMessage
Auto Trait Implementations§
impl Freeze for QosMessage
impl RefUnwindSafe for QosMessage
impl Send for QosMessage
impl Sync for QosMessage
impl Unpin for QosMessage
impl UnsafeUnpin for QosMessage
impl UnwindSafe for QosMessage
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