Skip to content

Commit ef82359

Browse files
Merge pull request #6 from membraneframework/add_muxed_content_type
Expanding content_type with muxed option
2 parents dc87f46 + d056306 commit ef82359

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/membrane_cmaf/track.ex

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ defmodule Membrane.CMAF.Track do
99
]
1010
defstruct @enforce_keys
1111

12+
@type content_type_t() :: :audio | :video
13+
1214
@typedoc """
1315
Struct describing a single track in Common Media Application Format.
1416
1517
The header field should contain binary contents of a CMAF init file.
1618
"""
1719
@type t :: %__MODULE__{
18-
content_type: :audio | :video,
20+
content_type: content_type_t() | [content_type_t()],
1921
header: binary
2022
}
2123
end

0 commit comments

Comments
 (0)