pub enum ClockPriority {
SystemFallback,
Provider,
AudioProvider,
LiveSource,
PtpGrandmaster,
}Expand description
Election priority of a clock candidate (M12 live clock distribution).
A pipeline runs against a single clock. When a live element provides one (a camera or RTSP source pacing to a hardware capture clock, an audio sink pacing to its DAC), the pipeline should adopt it over the default system clock so synchronisation follows real capture/playout cadence rather than wall time — GStreamer’s clock selection. Higher variants win.
Variants§
SystemFallback
The default system / wall clock: the fallback when nothing else provides a clock.
Provider
A non-live element that can drive timing from a monotonic clock (eg a video display sink pacing to its presentation timeline).
AudioProvider
An audio sink pacing to its DAC’s real playout rate (M590). Preferred
over a plain Provider so audio becomes the master
and video slaves to it (GStreamer’s model), but still below a live
capture source, whose hardware clock leads a live pipeline.
LiveSource
A live capture source whose hardware clock should pace the pipeline.
PtpGrandmaster
A PTP grandmaster-disciplined clock (M593). The shared network reference every device in a synchronised system (Pro AV / SMPTE ST 2110) slaves to, so it outranks even a local live-capture clock: when a grandmaster is present the whole facility, capture included, follows it.
Trait Implementations§
Source§impl Clone for ClockPriority
impl Clone for ClockPriority
Source§fn clone(&self) -> ClockPriority
fn clone(&self) -> ClockPriority
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more