Skip to content

Commit b3c44f5

Browse files
authored
Update video-effects.md
1 parent 1a1bfbf commit b3c44f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/communication-services/concepts/voice-video-calling/video-effects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ To use video effects with the Azure Communication Calling client library, once y
6767
### Code examples
6868
```js
6969
import * as AzureCommunicationCallingSDK from '@azure/communication-calling';
70-
import { BackgroundBlurEffect, BackgroundReplacement } from '@azure/communication-calling-effects';
70+
import { BackgroundBlurEffect, BackgroundReplacementEffect } from '@azure/communication-calling-effects';
7171

7272
/** Assuming you have initialized the Azure Communication Calling client library and have created a LocalVideoStream
7373
(reference <link to main SDK npm>)
@@ -114,7 +114,7 @@ Supported image formats are – png, jpg, jpeg, tiff, bmp.
114114
const backgroundImage = 'https://linkToImageFile';
115115

116116
// Create the effect instance
117-
const backgroundReplacementEffect = new BackgroundReplacement({
117+
const backgroundReplacementEffect = new BackgroundReplacementEffect({
118118

119119
backgroundImageUrl: backgroundImage
120120

0 commit comments

Comments
 (0)