HMSVirtualBackground

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun disableEffects()

Disables all video effects.

Link copied to clipboard
open override fun enableBackground(bitmap: Bitmap)

Enables the background replacement effect on the video frames.

Link copied to clipboard
open override fun enableBlur(blurPercentage: Int)

Enables the blur effect on the video frames.

Link copied to clipboard
open override fun getCurrentBlurPercentage(): Int

Retrieves the current blur percentage applied to the video frames.

Link copied to clipboard
open override fun getName(): String
Link copied to clipboard
open override fun getPluginType(): HMSVideoPluginType
Link copied to clipboard
open suspend override fun init()
Link copied to clipboard
open override fun isSupported(): Boolean
Link copied to clipboard
open override fun processVideoFrame(inputVideoFrame: VideoFrame, outputListener: HMSPluginResultListener?, skipProcessing: Boolean?)
Link copied to clipboard
open override fun setKey(key: String)
Link copied to clipboard

Sets the VideoFrameInfoListener to receive information about video frames.

Link copied to clipboard
open override fun stop()