ISurfaceProcessorInternal

Interface for a surface processor that manages input and output surfaces.

This interface allows for the creation, removal, and management of input and output surfaces used in video processing.

You can create your own implementation of this interface to handle custom effects or processing.

Types

Link copied to clipboard
interface Factory

Factory interface for creating instances of ISurfaceProcessorInternal.

Properties

Link copied to clipboard
abstract var isMuted: Boolean

Mute the video stream. The video stream will be replaced by a black screen.

Functions

Link copied to clipboard
abstract fun addOutputSurface(surfaceOutput: ISurfaceOutput)
Link copied to clipboard
abstract fun createInputSurface(surfaceSize: Size, timebase: Timebase): Surface
Link copied to clipboard
abstract fun release()

Closes and releases resources

Link copied to clipboard
Link copied to clipboard
abstract fun removeInputSurface(surface: Surface)
Link copied to clipboard
abstract fun removeOutputSurface(surface: Surface)
abstract fun removeOutputSurface(surfaceOutput: ISurfaceOutput)
Link copied to clipboard
abstract fun setTimebase(surface: Surface, timebase: Timebase)