Source

interface Source

A media capture source managed by a MediaMixer.

Inheritors

Functions

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

Closes the source and returns the result of releasing its capture resources.

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

Opens the source for the given mixer and returns the result of initialization.