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

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

The segment index box (sidx atom) contains information related to presentation time and byte-range locations of other boxes belonging to its segment.

For more information about segment index box refer to ISO/IEC 23000-19.

Summary

Functions

@spec assemble(%{
  id: non_neg_integer(),
  base_timestamp: non_neg_integer(),
  referenced_size: non_neg_integer(),
  timescale: non_neg_integer(),
  duration: non_neg_integer()
}) :: Membrane.MP4.Container.t()