amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.backgroundfilter.backgroundreplacement / BackgroundReplacementVideoFrameProcessor / addVideoSink

# addVideoSink

`fun addVideoSink(sink: VideoSink): Unit`

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