ISurfaceSourceInternal

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

Inheritors

Properties

Link copied to clipboard

The offset between source capture time and MONOTONIC clock in nanoseconds. It is used to synchronize video with audio. It is only useful for camera source.

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.