Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VideoFxConfig

VideoFxConfig describes the configuration of desired video effects that should be applied to a video stream by the VideoFxProcessor. Either backgroundBlur or backgroundReplacement may be enabled, but not both.

Hierarchy

  • VideoFxConfig

Index

Properties

backgroundBlur

backgroundBlur: { isEnabled: boolean; strength: VideoFxBlurStrength }

Configuration for background blur, either enabled or disabled. If enabled, a strength value of type BlurStrength as defined above must be specified.

Type declaration

backgroundReplacement

backgroundReplacement: { backgroundImageURL: string; defaultColor: string; isEnabled: boolean }

Configuration for background replacement, either enabled or disabled. If enabled, an image URL may be specified for the replacement background. If backgroundImageURL is null, the color specified as defaultColor is used as the replacement background. defaultColor must be a valid hex value or an accepted color string for the HTML canvas fillStyle method.

Type declaration

  • backgroundImageURL: string
  • defaultColor: string
  • isEnabled: boolean

Generated using TypeDoc