MOQX.Profile (moqx v0.10.0)

Copy Markdown View Source

Application catalog profiles, selected independently of the wire protocol.

MOQX.subscribe/3 selects a profile per subscription; omission or :none delivers opaque objects, including on catalog-named tracks. Explicit CMSF profiles work over all three built-in protocols. :hang requires Lite05. Unsupported compositions fail before opening a stream.

Profile state belongs to the existing connection driver and to individual handles. A malformed catalog emits MOQX.Event.CatalogFailed for that subscription; other subscriptions and the connection continue.

Summary

Functions

Returns the conventional catalog track name for a profile and encoding.

Validates a profile/protocol composition.

Types

t()

@type t() :: :none | :cloudflare_cmsf | :moqtail_cmsf | :hang

Functions

track_name(arg1, arg2)

Returns the conventional catalog track name for a profile and encoding.

validate(profile, protocol)

Validates a profile/protocol composition.