# BufferDecoder

class BufferDecoder(videoCodec: VideoCodec)

## Constructors

BufferDecoder
Link copied to clipboard
constructor(videoCodec: VideoCodec)

## Functions

decode
Link copied to clipboard
fun decode(data: ByteArray): ByteBuffer?
prepare
Link copied to clipboard
fun prepare(width: Int, height: Int, fps: Int, rotation: Int)
start
Link copied to clipboard
fun start(surface: Surface?): Int
stop
Link copied to clipboard
fun stop()