Expand description
The catalog is used to describe the available media tracks and codecs. The catalog describes the tracks a broadcast publishes.
This is a JSON blob that can be live updated like any other track in MoQ.
It describes the available audio and video tracks, including codec information,
resolution, bitrates, and other metadata, plus the json and binary sections
listing the data tracks that aren’t media.
Structs§
- AAC
- AAC codec mimetype.
- AV1
- AV1 codec mimetype.
- Audio
- Information about an audio track in the catalog.
- Audio
Config - Audio decoder configuration based on WebCodecs AudioDecoderConfig.
- Binary
- The binary tracks a broadcast publishes, keyed by track name.
- Binary
Config - How to read one binary track.
- Catalog
- A catalog track, created by a broadcaster to describe the tracks available in a broadcast.
- Chromaticity
- A CIE 1931 xy chromaticity coordinate.
- Clock
- The broadcast’s one continuous clock, advertised at the catalog root.
- Color
- The colour a rendition’s pixels carry, so a renderer can set up its pipeline without reparsing the bitstream.
- Consumer
- Reads typed catalog roots from a catalog track, subscribing to it at catalog priority.
- Content
Light - Content light levels in candelas per square metre, as CTA-861.3. Zero means unknown.
- Display
- Display size for rendering video
- Echo
- The relative broadcast prefix under which viewers may publish feedback.
- Extra
- The untyped catalog extension: arbitrary top-level JSON sections beyond the base
video/audio/textmedia sections and sharedarchive, captured and republished verbatim. - H264
- H.264/AVC codec mimetype.
- H265
- H.265/HEVC codec mimetype.
- Include
- A whole broadcast whose own catalog describes its renditions, listed without opening it.
- Json
- The JSON tracks a broadcast publishes, keyed by track name.
- Json
Config - How to read one JSON track.
- Mastering
- The colour volume of a mastering display, as SMPTE ST 2086.
- Priorities
- Delivery priorities for each hang track kind.
- Skipped
- The catalog entries a reader skipped because a newer moq-hang draft defines them.
- Stats
- The publisher’s media snapshot track in this broadcast.
- Text
- Information about the text (caption/subtitle) tracks in the catalog.
- Text
Config - Timed-text (caption/subtitle) track configuration.
- Timeline
- The broadcast’s timeline: the wall-clock time of PTS zero and how often a viewer can join.
- Unknown
Container - The raw JSON of a container whose
kindis not recognized. - Unknown
Projection - The raw JSON of a projection whose
kindis not recognized. - VP9
- VP9 codec configuration.
- Video
- Information about a video track in the catalog.
- Video
Config - Video decoder configuration based on WebCodecs VideoDecoderConfig.
- Video
Properties - Catalog properties shared by every video rendition.
Enums§
- Audio
Codec - Supported audio codec mimetypes.
- Audio
Codec Kind - Coarse audio codec family, used for tag-only matching.
- Audio
Layout - What a rendition’s decoded channels carry, beyond the codec’s own channel order.
- Color
Range - The numeric range of the samples, as H.273’s
VideoFullRangeFlag. - Container
- Container format for frame timestamp encoding and frame payload structure.
- Mode
- How a metadata track’s groups carry its payloads.
- Orientation
- Which side of a picture or viewport is longer.
- Projection
- How a rendition’s decoded picture maps onto the viewer’s field of view.
- Stereo
- How a rendition packs each eye’s view into its frames.
- Text
Format - The serialization format of a text track’s frames.
- Text
Role - The accessibility role of a text track, mirroring the roles registered by draft-ietf-moq-msf.
- Video
Codec - Supported video codec mimetypes.
- Video
Codec Kind - Coarse video codec family, used for tag-only matching.
Constants§
- MAX_
SAFE_ INTEGER - The largest integer JSON preserves exactly (2^53 - 1).
- PRIORITY
- Default delivery priorities for hang tracks, with higher values sent first.
Traits§
- Catalog
Ext - An application’s catalog extension: a plain serde struct of extra root sections that are serialized as a flat union with the base media sections.
- Reference
- Where a catalog entry’s track lives: the broadcast that publishes it and its name there.