MediaFormat

lumin. MediaFormat

Class used to retrieve track media format info

Constructor

new MediaFormat()

Members

(static, constant) KEY_AAC_DRC_ATTENUATION_FACTOR :string

Type:
  • string

(static, constant) KEY_AAC_DRC_BOOST_FACTOR :string

Type:
  • string

(static, constant) KEY_AAC_DRC_HEAVY_COMPRESSION :string

Type:
  • string

(static, constant) KEY_AAC_DRC_TARGET_REFERENCE_LEVEL :string

Type:
  • string

(static, constant) KEY_AAC_ENCODED_TARGET_LEVEL :string

Type:
  • string

(static, constant) KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT :string

Type:
  • string

(static, constant) KEY_AAC_PROFILE :string

Type:
  • string

(static, constant) KEY_AAC_SBR_MODE :string

Type:
  • string

(static, constant) KEY_BIT_DEPTH :string

Type:
  • string

(static, constant) KEY_BIT_RATE :string

Type:
  • string

(static, constant) KEY_CAPTURE_RATE :string

Type:
  • string

(static, constant) KEY_CHANNEL_COUNT :string

Type:
  • string

(static, constant) KEY_CHANNEL_MASK :string

Type:
  • string

(static, constant) KEY_COLOR_FORMAT :string

Type:
  • string

(static, constant) KEY_CROP_BOTTOM :string

Type:
  • string

(static, constant) KEY_CROP_LEFT :string

Type:
  • string

(static, constant) KEY_CROP_RIGHT :string

Type:
  • string

(static, constant) KEY_CROP_TOP :string

Type:
  • string

(static, constant) KEY_DURATION :string

Type:
  • string

(static, constant) KEY_FLAC_COMPRESSION_LEVEL :string

Type:
  • string

(static, constant) KEY_FRAME_RATE :string

Type:
  • string

(static, constant) KEY_HEIGHT :string

Type:
  • string

(static, constant) KEY_I_FRAME_INTERVAL :string

Type:
  • string

(static, constant) KEY_INTRA_REFRESH_PERIOD :string

Type:
  • string

(static, constant) KEY_IS_ADTS :string

Type:
  • string

(static, constant) KEY_IS_AUTOSELECT :string

Type:
  • string

(static, constant) KEY_IS_DEFAULT :string

Type:
  • string

(static, constant) KEY_IS_FORCED_SUBTITLE :string

Type:
  • string

(static, constant) KEY_LANGUAGE :string

Type:
  • string

(static, constant) KEY_MAX_HEIGHT :string

Type:
  • string

(static, constant) KEY_MAX_INPUT_SIZE :string

Type:
  • string

(static, constant) KEY_MAX_WIDTH :string

Type:
  • string

(static, constant) KEY_MIME :string

Type:
  • string

(static, constant) KEY_PCM_ENCODING :string

Type:
  • string

(static, constant) KEY_PUSH_BLANK_BUFFERS_ON_STOP :string

Type:
  • string

(static, constant) KEY_REPEAT_PREVIOUS_FRAME_AFTER :string

Type:
  • string

(static, constant) KEY_SAMPLE_RATE :string

Type:
  • string

(static, constant) KEY_STRIDE :string

Type:
  • string

(static, constant) KEY_TEMPORAL_LAYERING :string

Type:
  • string

(static, constant) KEY_WIDTH :string

Type:
  • string

Methods

setBuffer(name, buffer)

Parameters:
Name Type Description
name string
buffer Array.<number>

setFloat(name, value)

Parameters:
Name Type Description
name string
value number

setInt32(name, value)

Parameters:
Name Type Description
name string
value number

setInt64(name, value)

Parameters:
Name Type Description
name string
value BigInt

setSize(name, value)

Parameters:
Name Type Description
name string
value number

setString(name, value)

Parameters:
Name Type Description
name string
value string

toString() → {string}

Human readable representation of the format.

Returns:
Type
string