addVideoSink

abstract fun addVideoSink(sink: VideoSink)

Add a video sink which will immediately begin to receive new frames.

Multiple sinks can be added to a single VideoSource to allow forking of video frames, e.g. to send to both local preview and AmazonChimeSDKMedia library (for encoding) at the same time.

Parameters

sink

: VideoSink - New video sink