#[non_exhaustive]pub struct Release {
pub dropped: u64,
pub trimmed: u64,
pub gaps: u64,
pub margin: Option<i64>,
pub offset: Option<i64>,
pub drift: Option<f64>,
pub out_of_tolerance: u64,
}Expand description
How an export keeps up with the source: the frames it drops, trims, and never receives,
and how its release clock tracks the source’s. What Export::stats
reports beside its rows, and Release::stats on its own.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dropped: u64Frames dropped after their stream’s first went out: for arriving after their deadline, for falling due before a new timeline’s clock was acquired, and the frames a video track then dropped waiting for its next keyframe or leading the keyframe it resumed at, late or after a hole upstream once the output held frames ahead of the hole.
trimmed: u64Frames dropped before their stream’s first went out, so the output starts on a whole group led by the video keyframe: what a joiner is handed older than the delay, a start group cut short upstream, the first keyframe’s leading pictures, and what precedes the first keyframe or the codec config. Nothing is missing from the output for these.
gaps: u64Times a source skipped media it will never deliver: a group lost or expired upstream, or a resubscription. A declared break is not one. Each is logged with the span it skipped.
margin: Option<i64>The least time any frame arrived before its deadline over the last whole second, in
milliseconds: how much more latency the path could take before frames drop. Negative
when a frame missed its deadline. None until a second has passed, and without a delay.
offset: Option<i64>How far the output clock sits from the source’s plus the delay, in milliseconds, as last
measured: positive holds frames longer than the delay, negative shorter. The clock pulls
it shut over ten minutes. None until there is a measurement.
drift: Option<f64>How fast the source’s clock runs against ours, in parts per million (positive runs
fast), as last measured. None until there is a measurement.
out_of_tolerance: u64How many measurements found the source’s clock further off ours than the 30 ppm an MPEG-TS system clock may be (ISO/IEC 13818-1 2.4.2.1), which the output cannot follow.