ExMP4.Box.Esds (MP4 Reader and Writer v0.14.1)

View Source

A module representing an esds box.

Summary

Functions

Gets the audio specific configuration from the esds box.

Creates a new esds box with the given audio specific configuration.

Types

t()

@type t() :: %ExMP4.Box.Esds{
  es_descriptor: binary(),
  flags: integer(),
  version: integer()
}

Functions

audio_specific_config(esds)

@spec audio_specific_config(t()) :: binary()

Gets the audio specific configuration from the esds box.

Only available if MediaCodecs is installed.

new(audio_specific_config)

@spec new(binary()) :: t()

Creates a new esds box with the given audio specific configuration.

Only available if MediaCodecs is installed.