Skip to content

Commit 1a1bfbf

Browse files
authored
Update video-effects.md
------- cc: @sloanster
1 parent e0ec391 commit 1a1bfbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.subservice: calling
1717
[!INCLUDE [Public Preview](../../includes/public-preview-include-document.md)]
1818

1919
>[!IMPORTANT]
20-
> The Calling Video effects are available starting on the public preview version [1.9.1-beta.1](https://www.npmjs.com/package/@azure/communication-calling/v/1.9.1-beta.1) of the Calling SDK. Please ensure that you use this or a newer SDK when using video effects.
20+
> The Calling Video effects are available starting on the public preview version [1.10.0-beta.1](https://www.npmjs.com/package/@azure/communication-calling/v/1.10.0-beta.1) of the Calling SDK. Please ensure that you use this or a newer SDK when using video effects.
2121
2222
> [!NOTE]
2323
> This API is provided as a preview ('beta') for developers and may change based on feedback that we receive.
@@ -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 { BackgroundBlur, BackgroundReplacement } from '@azure/communication-calling-effects';
70+
import { BackgroundBlurEffect, BackgroundReplacement } 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>)
@@ -92,7 +92,7 @@ videoEffectsFeatureApi.on(‘effectsError’, (error) => {
9292
});
9393

9494
// Create the effect instance
95-
const backgroundBlurEffect = new BackgroundBlur();
95+
const backgroundBlurEffect = new BackgroundBlurEffect();
9696

9797
// Recommended: Check if backgroundBlur is supported
9898
const backgroundBlurSupported = await backgroundBlurEffect.isSupported();

0 commit comments

Comments
 (0)