Skip to main content

Module config

Module config 

Source
Expand description

Configuration, units and the single source of defaults.

Every default is a named constant in a DEFAULT block and Default is implemented from it, so a C wrapper asks the crate (br_config_default) instead of duplicating numbers. Each default carries its evidence tag in docs/buffering-runtime/DESIGN.md section 4 ([tuned] / [sourced] / [guess]); all of them are implementation-defined (no standard specifies a de-jitter policy).

Structs§

ControllerConfig
Whole-controller configuration.
JitterConfig
Delivery-jitter estimator configuration.
PolicyConfig
Target-buffer policy configuration.

Constants§

DEFAULT_GRANULARITY_DECAY_US
Default of ControllerConfig::granularity_decay_us.
DEFAULT_GRANULARITY_HOLD_US
Default of ControllerConfig::granularity_hold_us.
DEFAULT_TRACK_GRANULARITY
Default of ControllerConfig::track_granularity.
DEFAULT_TRACK_SILENCE_TIMEOUT_US
Default of ControllerConfig::track_silence_timeout_us.
US_PER_S
Microseconds per second.

Type Aliases§

Micros
Microseconds (arrival clock, intervals, targets).
Ticks27
27 MHz ticks (media positions: PCR domain for the estimator, PTS x 300 for the playback/lead domain).