VideoCodecSource

class VideoCodecSource(val videoCodec: VideoCodec) : VideoSource

Constructors

Link copied to clipboard
constructor(videoCodec: VideoCodec)

Properties

Link copied to clipboard

The orientation of the video image.

Link copied to clipboard
open override var surface: Surface?

The surface used as the output destination for video frames.

Link copied to clipboard
Link copied to clipboard
open override var videoSize: Size

The resolution of the video frames produced by this source.

Functions

Link copied to clipboard
open suspend override fun close(): Result<Unit>

Closes a source.

Link copied to clipboard
open suspend override fun open(mixer: MediaMixer): Result<Unit>

Open a source.