A track advertised by a CMSF or HANG catalog.
HANG decoder.description and CMAF container.init contain decoded bytes.
metadata_status is :recognized, :unknown_codec, or :unknown_container;
callers must still determine whether their decoder supports the configuration.
jitter preserves non-negative, possibly fractional milliseconds.
Unknown rendition fields remain in extensions. A relative broadcast address
that escapes the root or lacks a catalog namespace sets address_error;
track_ref/2 then returns {:error, reason} instead of an invented address.
Summary
Functions
Builds the protocol-neutral address advertised by this catalog track.
Types
@type t() :: %MOQX.Catalog.Track{ address_error: term(), alt_group: term(), bitrate: term(), broadcast: term(), channel_config: term(), codec: term(), container: term(), decoder: term(), depends: term(), extensions: term(), framerate: term(), height: term(), init_data: binary() | nil, init_track: term(), jitter: term(), language: term(), metadata_status: term(), mime_type: term(), name: binary(), namespace: binary() | [binary()] | nil, packaging: term(), raw: map(), render_group: term(), role: term(), samplerate: term(), stalled: term(), timeline: term(), timescale: term(), width: term() }
Functions
@spec track_ref(t(), binary() | [binary()] | nil) :: MOQX.TrackRef.t() | {:error, atom()}
Builds the protocol-neutral address advertised by this catalog track.