Expand description
MSF (MOQT Streaming Format) catalog types.
This crate provides types for the MSF catalog format as defined in draft-ietf-moq-msf-01, with additional support for CMAF packaging from draft-ietf-moq-cmsf-00.
Catalog is a version-agnostic snapshot of tracks. The wire details are
hidden behind (de)serialization: parsing accepts both draft-00 (numeric
version, inline initData) and draft-01 (string version, with init data
held in a root initDataList and referenced per-track by initRef).
Serializing always emits the newest draft, and init data is resolved to
inline Track::init_data either way, so callers never touch the version
or the init-data indirection. draft-00’s generatedAt and isComplete
fields stay available as version-neutral catalog fields.
References:
Structs§
- Catalog
- A snapshot of an MSF catalog: the tracks currently in a broadcast.
- Track
- A single track in the MSF catalog.
Enums§
Constants§
- DEFAULT_
NAME - The default track name for the MSF catalog.
Traits§
- Catalog
Ext - An application’s catalog extension: a plain serde struct of extra root members, serialized as a flat union with the members MSF itself defines.
Functions§
- reserved_
root - Whether
nameis a root member MSF itself defines, which an extension MUST NOT reuse.