CodecSpecificData

class CodecSpecificData(val csd0: ByteArray, val csd1: ByteArray?, val nalLengthSize: Int)

Decoder configuration converted to the start-code form expected by MediaCodec.

Constructors

Link copied to clipboard
constructor(csd0: ByteArray, csd1: ByteArray?, nalLengthSize: Int)

Properties

Link copied to clipboard

SPS data for AVC, or VPS, SPS, and PPS data for HEVC.

Link copied to clipboard

PPS data for AVC. HEVC carries every parameter set in csd0.

Link copied to clipboard

Number of bytes in each container NAL length field.