MOQX.Catalog.Track (moqx v0.8.1)

Copy Markdown View Source

A track advertised by a decoded CMSF catalog.

Summary

Functions

Builds the protocol-neutral address advertised by this catalog track.

Types

t()

@type t() :: %MOQX.Catalog.Track{
  alt_group: term(),
  bitrate: term(),
  channel_config: term(),
  codec: term(),
  depends: term(),
  framerate: term(),
  height: term(),
  init_data: binary() | nil,
  init_track: term(),
  language: term(),
  mime_type: term(),
  name: binary(),
  namespace: binary() | [binary()] | nil,
  packaging: term(),
  raw: map(),
  render_group: term(),
  role: term(),
  samplerate: term(),
  timescale: term(),
  width: term()
}

Functions

track_ref(track, fallback_namespace \\ nil)

@spec track_ref(t(), binary() | nil) :: MOQX.TrackRef.t()

Builds the protocol-neutral address advertised by this catalog track.