ContentShareVideoClientController

ContentShareVideoClientController uses a separate video client for content share video related functionality.

Inheritors

Functions

Link copied to clipboard
abstract fun startVideoShare(videoSource: VideoSource)

Start to share video with a provided custom VideoSource which can be used to provide custom VideoFrames to be transmitted to remote clients. This will call VideoSource.addVideoSink on the provided source and VideoSource.removeVideoSink on the previously provided source.

abstract fun startVideoShare(videoSource: VideoSource, config: LocalVideoConfiguration)

Start to share video with configuration and a provided custom VideoSource which can be used to provide custom VideoFrames to be transmitted to remote clients. This will call VideoSource.addVideoSink on the provided source and VideoSource.removeVideoSink on the previously provided source.

Link copied to clipboard
abstract fun stopVideoShare()

Stop sending video to remote clients.

Link copied to clipboard

Subscribe to video client state and connection events with an ContentShareObserver

Link copied to clipboard

Unsubscribe from video client state and connection events by removing the specified ContentShareObserver