#[non_exhaustive]pub struct Info {
pub pool: Pool,
pub cache_duration: Option<Duration>,
pub path: Path,
pub identity: Option<Identity>,
/* private fields */
}Expand description
A collection of media tracks that can be published and subscribed to.
Create via Info::produce to obtain both Producer and Consumer pair.
This is the broadcast’s static identity, fixed for its lifetime.
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.pool: PoolThe cache pool this broadcast’s tracks and groups inherit.
cache_duration: Option<Duration>Local ceiling on each track’s max age: how long a superseded group stays fresh here.
None imposes no ceiling.
path: PathThe path this broadcast is named by, which relative references in a catalog it
serves (hang’s broadcast field) resolve against.
origin::Producer::route stamps
the path the broadcast was created at, relative to the origin root (including through a
scoped producer). Every Consumer an origin hands out is then re-stamped with the path
that handle was requested or announced at, relative to its cursor’s root, since the
same broadcast can be reached under more than one name: a dynamic handler may serve a
standalone broadcast at any path, and a rooted cursor names a broadcast more tightly
than the origin does.
Empty (the default) for a standalone broadcast with no origin, which is then its own
root: any .. reference escapes.
identity: Option<Identity>The identity of the route a Consumer was resolved through, naming the stream
it reads.
Stamped on every Consumer an origin resolves, like Self::path. None for a
handle not resolved through an origin.