View Source ExMP4.Track.FragmentedSampleTable (MP4 Reader and Writer v0.4.0)

A module that defines a structure for a fragmented sample table.

Summary

Functions

Add a fragment to the sample table.

Types

@type t() :: %ExMP4.Track.FragmentedSampleTable{
  default_sample_description_id: integer(),
  default_sample_duration: integer(),
  default_sample_flags: binary() | nil,
  default_sample_size: integer(),
  duration: integer(),
  elapsed_duration: integer(),
  moofs: [ExMP4.Track.Fragment.t()],
  sample_count: integer()
}

Functions

Link to this function

add_fragment(sample_table, fragment)

View Source
@spec add_fragment(t(), ExMP4.Track.Fragment.t()) :: t()

Add a fragment to the sample table.