View Source Membrane.MP4.SegmentTypeBox (Membrane MP4 plugin v0.35.0)

A module containing a function for assembling a CMAF segment type box.

The segment type box (styp atom) is a top-level box that contains specifications and compatibility information that media players can use to correctly interpret a CMAF segment.

For more information about the segment type box, refer to ISO/IEC 23000-19.



Link to this function

assemble(major_brand, compatible_brands, major_brand_version \\ 0)

View Source
@spec assemble(String.t(), [String.t()], integer()) :: Membrane.MP4.Container.t()