You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use `noise suppression` audio effects within the Azure Communication Calling SDK, you need the `LocalAudioStream` that is currently in the call. You need access to the `AudioEffects` API of the `LocalAudioStream` to start and stop audio effects.
// Its recommened to check support for the effect in the current environment using the isSupported method on the feature API. Remember that Noise Supression is only supported on Desktop Browsers for Chrome and Edge
77
+
// Its recommened to check support for the effect in the current environment using the isSupported API
78
+
// method. Remember that Noise Supression is only supported on Desktop Browsers for Chrome and Edge
### Start a call with Noise Suppression automatically enabled
96
98
To start a call with **noise suppression** turned on, you can create a new `LocalAudioStream` with a `AudioDeviceInfo` (the LocalAudioStream source <u>shouldn't</u> be a raw `MediaStream` to use audio effects), and pass it in the `CallStartOptions.audioOptions`:
97
99
```js
98
100
// As an example, here we are simply creating a LocalAudioStream using the current selected mic on the DeviceManager
@@ -114,7 +116,7 @@ await call.startCall({
114
116
});
115
117
```
116
118
117
-
### How to turn on Noise Suppression during an ongoing call
119
+
### Turn on Noise Suppression during an ongoing call
118
120
There are situations where a user might start a call and not have **noise suppression** turned on, but their current environment might get noisy resulting in them needing to turn on **noise suppression**. To turn on **noise suppression**, you can use the `audioEffectsFeatureApi.startEffects` API.
0 commit comments