DefaultContentShareVideoClientController

class DefaultContentShareVideoClientController(context: Context, logger: Logger, contentShareVideoClientObserver: ContentShareVideoClientObserver, configuration: MeetingSessionConfiguration, videoClientFactory: VideoClientFactory, eglCoreFactory: EglCoreFactory) : ContentShareVideoClientController

Constructors

Link copied to clipboard
constructor(context: Context, logger: Logger, contentShareVideoClientObserver: ContentShareVideoClientObserver, configuration: MeetingSessionConfiguration, videoClientFactory: VideoClientFactory, eglCoreFactory: EglCoreFactory)

Functions

Link copied to clipboard
open override 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.

open override 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
open override 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