pub trait TrackProvider: Send + Sync {
// Required method
fn tracks(&self) -> Vec<TrackSpec>;
}Available on crate feature
std only.Expand description
The tracks the origin should describe, given the Trunk it reads.
Like SegmentProvider, which track set a program presents is the host’s
own bookkeeping (the one its DASH window and HLS origin already use), so
the origin asks for it. A Trunk’s own announcement is the plain adapter
for a host that publishes there.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".