CustomVideoSourceYUV420

class CustomVideoSourceYUV420 : CustomVideoSource

A video source for custom tracks which accepts frame data in a YUV 4:2:0 format.

Use pushFrame to add new frames to the track.

Constructors

Link copied to clipboard
fun CustomVideoSourceYUV420()

Types

Link copied to clipboard
class ByteArrayRange(data: ByteArray, start: Int, len: Int)
Link copied to clipboard
class Frame
Link copied to clipboard
enum Rotation : Enum<CustomVideoSourceYUV420.Rotation>

Functions

Link copied to clipboard
fun pushFrame(frame: CustomVideoSourceYUV420.Frame)

Add the specified frame to the video track.