Skip to main content

Module meta

Module meta 

Source
Expand description

Metadata subscriptions: a track’s group and frame progress without its payload.

A metadata subscription is a subscription of its own beside any payload subscription to the same track, with its mode fixed for its life. Where the hop carries the mode (moq-lite-07), it travels upstream as a metadata subscription and no payload crosses that hop for it. Over an older version, which cannot carry the mode, it rides the track’s payload subscription and drops the payload, so it never downloads the payload twice.

A reader that wants the payload after all opens a payload subscription from the group it reached and skips to its first missing frame (group::Consumer::skip_to): nothing changes mode in place.

Structs§

Consumer
A lazy handle to a track’s metadata, from broadcast::Consumer::meta.
Group
One group of a metadata subscription, read header by header.
Subscriber
A live metadata subscription: track::Subscriber whose groups hold headers alone.
Subscribing
The pollable state of a Consumer::subscribe; awaited via the [kio::Pending] wrapper.