IVideoInput

interface IVideoInput

The public interface for the video input. It provides access to the video source, the video processor, and the streaming state.

Properties

Link copied to clipboard
abstract val isStreamingFlow: StateFlow<Boolean>

Whether the video input is streaming.

Link copied to clipboard

The video processor for adding effects to the video frames.

Link copied to clipboard
abstract val sourceFlow: StateFlow<IVideoSource?>

The video source

Link copied to clipboard
abstract val withConfig: Boolean

Whether the video input has a configuration. It is true if the video source has been configured.

Link copied to clipboard

Whether the pipeline has a video source.

Functions

Link copied to clipboard
abstract suspend fun setSource(videoSourceFactory: IVideoSourceInternal.Factory)

Sets the video source.