View Source ExMP4.Sample (MP4 Reader and Writer v0.6.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{ dts: non_neg_integer(), duration: integer(), payload: binary() | nil, pts: non_neg_integer(), sync?: boolean(), track_id: ExMP4.Track.id() }
Functions
Create a new sample