StreamView

A video preview output that can be registered with a mixer or stream.

Inheritors

Properties

Link copied to clipboard

A weak reference to the registered media source, or null when detached.

Link copied to clipboard
abstract var frameRate: Int

The target output frame rate, in frames per second.

Link copied to clipboard
abstract var videoEffect: VideoEffect

The effect applied to rendered video, such as monochrome or sepia.

Link copied to clipboard

How the video is scaled to fit its bounds.

Functions

Link copied to clipboard
abstract fun append(buffer: MediaBuffer)

Receives a media buffer from the source. Consume or copy its payload before it is reused.