View Source Membrane.MP4.SegmentIndexBox (Membrane MP4 plugin v0.15.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.

Link to this section Summary

Link to this section Functions

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