VideoEncoderHelper

Created by pedro on 3/12/25.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun decodeSpsPpsFromBuffer(outputBuffer: ByteBuffer, length: Int): Pair<ByteBuffer, ByteBuffer>
decode sps and pps if the encoder never call to MediaCodec.
Link copied to clipboard
Link copied to clipboard
You need find 0 0 0 1 byte sequence that is the initiation of vps, sps and pps buffers.