amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video / VideoSource

VideoSource

interface VideoSource

VideoSource is an interface for sources which produce video frames, and can send to a VideoSink. Implementations can be passed to the AudioVideoFacade to be used as the video source sent to remote participants

Properties

contentHint

Content hint for downstream processing

abstract val contentHint: VideoContentHint

Functions

addVideoSink

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

abstract fun addVideoSink(sink: VideoSink): Unit

removeVideoSink

Remove a video sink which will no longer receive new frames on return

abstract fun removeVideoSink(sink: VideoSink): Unit

Inheritors

BackgroundBlurVideoFrameProcessor

BackgroundBlurVideoFrameProcessor Draws frames to RGBA, converts to CPU, identifies the foreground person and blurs the background of a video frame.

class BackgroundBlurVideoFrameProcessor : VideoSource, VideoSink

BackgroundReplacementVideoFrameProcessor

BackgroundReplacementVideoFrameProcessor Draws frames to RGBA, converts to CPU, identifies the foreground person and replaces the background of a video frame.

class BackgroundReplacementVideoFrameProcessor : VideoSource, VideoSink

VideoCaptureSource

VideoCaptureSource is an interface for various video capture sources (i.e. screen, camera, file) which can emit VideoFrame objects All the APIs here can be called regardless of whether the AudioVideoFacade is started or not.

interface VideoCaptureSource : VideoSource