Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VideoFxProcessor

VideoFxProcessor Mechanism that drives the data transformation of individual video frames to apply ML-based background blur and background replacement effects on the video stream.

Hierarchy

  • VideoFxProcessor

Implements

Index

Constructors

constructor

Methods

destroy

  • destroy(): Promise<void>

getEffectConfig

process

setEffectConfig

setVideoFxSpec

Static create

  • Create a VideoFxProcessor that has loaded its necessary components, ready to instantly process a video stream with the effects specified in the passed VideoFxConfig.

    ** NOTICE **

    Amazon Chime background blur 2.0 and background replacement 2.0 Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.

    By installing or using this package, you agree to the AWS Customer Agreement, AWS Service Terms, and AWS Privacy Notice. If you already have an AWS Customer Agreement, you agree that the terms of that agreement govern your download and use of this package. This package is provided as AWS Content and subject to the AWS Customer agreement and any other agreement with AWS governing your use of AWS services.

    Parameters

    Returns Promise<VideoFxProcessor>

Static isSupported

  • isSupported(logger?: Logger, attemptAssetLoad?: boolean): Promise<boolean>
  • Detect client environment to determine if the VideoFxProcessor is supported.

    Parameters

    • logger: Logger = ...

      to record/report events of checking processor support

    • attemptAssetLoad: boolean = true

      will also fetch and build all relevant components of the processor to ensure end to end feature is supported

    Returns Promise<boolean>

    a boolean promise that will resolve to true if supported and false if not

Generated using TypeDoc