ISurfaceSourceInternal

Interface for video source that provides a Surface for video stream.

Inheritors

Properties

Link copied to clipboard
abstract val timebase: Timebase

Gets the timebase used for the video source. If you can, prefer Timebase.REALTIME for video sources.

Functions

Link copied to clipboard
abstract suspend fun getOutput(): Surface?

Gets the output surface for the video stream.

Link copied to clipboard
abstract suspend fun resetOutput()

Resets the output surface for the video stream.

Link copied to clipboard
abstract suspend fun setOutput(surface: Surface)

Sets the output surface for the video stream.