View Source Membrane.H264.Parser.DecoderConfigurationRecord (Membrane H264 plugin v0.4.0)

Utility functions for parsing AVC Configuration Record.

The structure of the record is described in section 5.2.4.1.1 of MPEG-4 part 15 (ISO/IEC 14496-15).

Link to this section Summary

Types

t()

Structure representing the Decoder Configuartion Record

Functions

Parses the DCR.

Link to this section Types

@type t() :: %Membrane.H264.Parser.DecoderConfigurationRecord{
  avc_level: non_neg_integer(),
  avc_profile_indication: non_neg_integer(),
  length_size_minus_one: non_neg_integer(),
  pps: [binary()],
  profile_compatibility: non_neg_integer(),
  sps: [binary()]
}

Structure representing the Decoder Configuartion Record

Link to this section Functions

@spec parse(binary()) :: {:ok, t()} | {:error, any()}

Parses the DCR.