#[non_exhaustive]pub struct Options {
pub decoder: Config,
pub output: Output,
pub delay: Delay,
pub estimate: bool,
pub start: Start,
pub priority: i8,
}Expand description
Subscription, decoder, and output policy for Consumer.
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.decoder: ConfigLow-level decoder configuration.
output: OutputPCM output conversion.
delay: DelayHow far behind the live edge playback runs.
Delay::min is the playout delay: the jitter buffer a player holds ahead of the
playhead, reported by Consumer::delay, and where a cold join starts. With
estimate it is a floor under the measured delay instead. A
Start::Latest subscription states whichever delay the player holds as its min,
following the estimate; a Start::Oldest one states none, reaching back to the oldest
group.
A min beyond the track’s max age is refused. Delay::max is how far a group may fall
behind the live edge before the subscription skips it, and how long a missing group is
waited for; it adds no buffering.
estimate: boolMeasure the playout delay from arrival timing, never below Delay::min (default:
true). false holds exactly delay.min.
start: StartInitial cached-group policy.
priority: i8The subscription priority, ordering this track against the others on the session under
congestion: higher is sent first. Defaults to hang’s PRIORITY.audio;
Consumer::set_priority moves it while running.