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).

Every span is a Duration (see crate::time); the controller keeps them in whole microseconds internally.

Structs§

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

Constants§

DEFAULT_GRANULARITY_DECAY
Default of ControllerConfig::granularity_decay.
DEFAULT_GRANULARITY_HOLD
Default of ControllerConfig::granularity_hold.
DEFAULT_TRACK_GRANULARITY
Default of ControllerConfig::track_granularity.
DEFAULT_TRACK_SILENCE_TIMEOUT
Default of ControllerConfig::track_silence_timeout.
US_PER_S
Microseconds per second.