VideoSource

interface VideoSource : Source

An interface that captures a video source.

Use this for creating video sources that depend on the device, such as Camera or MediaProjection. For static images and similar sources, please use the Screen object.

Inheritors

Properties

Link copied to clipboard
abstract val video: VideoScreenObject

The video screen container object.

Functions

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

Closes a source.

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

Open a source.