View Source Membrane.H264.Parser.NALuParser (Membrane H264 plugin v0.5.0)
A module providing functionality of parsing a stream of binaries, out of which each is a payload of a single NAL unit.
Link to this section Summary
Functions
Returns a structure holding a clear NALu parser state.
Parses a binary representing a single NALu.
Link to this section Types
@opaque t()
A structure holding the state of the NALu parser.
Link to this section Functions
@spec new() :: t()
Returns a structure holding a clear NALu parser state.
@spec parse(binary(), t()) :: {Membrane.H264.Parser.NALu.t(), t()}
Parses a binary representing a single NALu.
Returns a structure that contains parsed fields fetched from that NALu. The input binary is expected to contain the prefix, defined as in the "Annex B" of the "ITU-T Rec. H.264 (01/2012)".