startVideoShare
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.
Calling this function repeatedly will replace the previous VideoSource as the one being transmitted.
Parameters
: VideoSource - The source of video frames to be sent to other clients.
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.
Calling this function repeatedly will replace the previous VideoSource as the one being transmitted, will update the content share configuration, e.g. maxBitRateKbps.
Parameters
: VideoSource - The source of video frames to be sent to other clients.
: LocalVideoConfiguration - The configuration of emitted video stream, e.g. maxBitRateKbps