BackgroundReplacementEffect class
Background replacement effect.
Properties
| name | Name of the effect |
Methods
| configure(Background |
Method to update effect config |
| is |
This method is deprecated. Please use the isSupported method on the VideoEffectsFeature API from the main @azure/communication-calling package instead. |
Constructor Details
BackgroundReplacementEffect(BackgroundReplacementConfig)
new BackgroundReplacementEffect(bgReplacementConfig: BackgroundReplacementConfig)
Parameters
- bgReplacementConfig
- BackgroundReplacementConfig
Property Details
name
Method Details
configure(BackgroundReplacementConfig)
Method to update effect config
function configure(newBgReplacementConfig: BackgroundReplacementConfig): Promise<void>
Parameters
- newBgReplacementConfig
- BackgroundReplacementConfig
Returns
Promise<void>
isSupported()
Warning
This API is now deprecated.
This method is deprecated. Please use the isSupported method on the VideoEffectsFeature API from the main @azure/communication-calling package instead.
function isSupported(): Promise<boolean>
Returns
Promise<boolean>