Skip to main content

Crate moq_msf

Crate moq_msf 

Source
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§

Packaging
Packaging mode for an MSF track.
Role
Content role for an MSF track.

Constants§

DEFAULT_NAME
The default track name for the MSF catalog.