IVideoSourceInternal

Types

Link copied to clipboard
interface Factory

A factory to build an IVideoSourceInternal.

Properties

Link copied to clipboard
abstract val infoProviderFlow: StateFlow<ISourceInfoProvider>

Orientation provider of the capture source. It is used to orientate the frame according to the source orientation.

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

Flow of the last streaming state.

Functions

Link copied to clipboard
abstract suspend fun configure(config: VideoSourceConfig)

Configure the Configurable implementation.

Link copied to clipboard
abstract fun release()

Closes and releases resources

Link copied to clipboard
abstract suspend fun startStream()

Starts frames or data stream generation Throws an exception if not ready for live stream

Link copied to clipboard
abstract suspend fun stopStream()

Stops frames or data stream generation