View Source Membrane.AAC.Parser.ADTS (Membrane AAC plugin v0.19.0)
Utility functions for parsing and generating ADTS encapsulation structures.
Summary
Functions
@spec next_timestamp(Membrane.AAC.Parser.timestamp(), Membrane.AAC.t()) :: Membrane.AAC.Parser.timestamp()
@spec parse_adts( binary(), Membrane.AAC.t() | nil, Membrane.AAC.Parser.timestamp(), Membrane.Element.state() ) :: {:ok, {[stream_format: Membrane.AAC.t(), buffer: Membrane.Buffer.t()], binary(), Membrane.AAC.Parser.timestamp()}} | {:error, :invalid_adts_header}
@spec payload_to_adts(binary(), Membrane.AAC.t()) :: binary()