Skip to main content

Module address

Module address 

Source
Expand description

Representation to Segment plan (ISO/IEC 23009-1 5.3.9.2-5.3.9.6).

plan::SegmentPlan is a lazy, ordered view of a Representation’s Media Segments: number, media time, duration, URL reference, byte range and, for dynamic MPDs, availability window. Nothing is materialised per segment except where the MPD itself lists them (SegmentList, sidx).

Re-exports§

pub use plan::DynamicContext;
pub use plan::PlanInput;
pub use plan::ResourceRef;
pub use plan::SegmentPlan;
pub use plan::SegmentRef;
pub use representation::PlanError;
pub use representation::PlanOptions;
pub use representation::PlannedRepresentation;
pub use representation::plan_representation;

Modules§

base_index
SegmentBase + sidx: the on-demand profile’s segment ranges (ISO/IEC 23009-1 5.3.9.5.4; ISO/IEC 14496-12:2026 8.14.3).
list
SegmentList entries (ISO/IEC 23009-1 5.3.9.3, Table 19).
plan
The lazy Segment plan of one Representation within one Period.
representation
One call from an MPD position to a ready SegmentPlan: resolve the inherited Segment information, derive the Period’s place on the timeline, gather the BaseURL candidates and build the plan.
template
SegmentTemplate identifier scanning and substitution (ISO/IEC 23009-1 5.3.9.4.4, Table 21).
timeline
SegmentTimeline as a lazy run table (ISO/IEC 23009-1 5.3.9.6).

Enums§

AddressError
Why a Representation’s segments cannot be addressed.