# VideoSpecificConfigAVC

class VideoSpecificConfigAVC(sps: ByteArray, pps: ByteArray)

Created by pedro on 29/04/21.

ISO/IEC 14496-15

AVCDecoderConfigurationRecord

5 bytes sps/pps header: 1 byte configurationVersion (always 1), 1 byte AVCProfileIndication, 1 byte profile_compatibility, 1 byte AVCLevelIndication, 1 byte lengthSizeMinusOneWithReserved (always 0xff) 3 bytes size of sps: 1 byte numOfSequenceParameterSetsWithReserved (always 0xe1), 2 bytes sequenceParameterSetLength(2B) (sps size) N bytes of sps. sequenceParameterSetNALUnit (sps data) 3 bytes size of pps: 1 byte numOfPictureParameterSets (always 1), 2 bytes pictureParameterSetLength (pps size) N bytes of pps: pictureParameterSetNALUnit (pps data)

## Constructors

VideoSpecificConfigAVC
Link copied to clipboard
constructor(sps: ByteArray, pps: ByteArray)

## Properties

size
Link copied to clipboard
val size: Int

## Functions

write
Link copied to clipboard
fun write(buffer: ByteArray, offset: Int)