MediaCodecBuffer

An Android MediaCodec output buffer.

Presenting one means releasing it with the render flag set, which makes MediaCodec draw straight into the surface the codec was configured with. No texture, no shader, no GL code. The cost is that such a frame cannot be read back, filtered or screenshotted.

Properties

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int