View Source ExMP4.Sample (MP4 Reader and Writer v0.1.0)
A struct describing an MP4 sample (a video frame, an audio sample, ...etc)
Summary
Types
@type id() :: non_neg_integer()
@type t() :: %ExMP4.Sample{ content: binary(), dts: non_neg_integer(), pts: non_neg_integer(), sync?: boolean(), track_id: ExMP4.Track.id() }
Functions
Create a new sample