Membrane.CMAF.Track (Membrane CMAF format v0.7.1) View Source
Membrane description for a single track in Common Media Application Format.
Link to this section Summary
Link to this section Types
Specs
content_type_t() :: :audio | :video
Specs
t() :: %Membrane.CMAF.Track{ codecs: %{ optional(:mp4a) => %{ aot_id: binary(), channels: integer(), frequency: integer() }, optional(:avc1) => %{ profile: binary(), compatibility: binary(), level: binary() }, optional(:hvc1) => %{ profile: non_neg_integer(), tier: non_neg_integer(), level: non_neg_integer() } }, content_type: content_type_t() | [content_type_t()], header: binary(), resolution: {non_neg_integer(), non_neg_integer()} | nil }
Struct describing a single track in Common Media Application Format.
The header field should contain binary contents of a CMAF init file.