addPlugin

fun addPlugin(plugin: HMSVideoPlugin, hmsActionResultListener: HMSActionResultListener, pluginFrameRate: Int = 15)

Initializes video pre-processors such as Virtual Background and blur.

Parameters

plugin

A plugin which got added.

hmsActionResultListener

whether it was successful or errored. Will only be called after join/preview, there will be no callback until then.

pluginFrameRate

optional - framerate that the plugin will run at.