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 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`:
74
+
```js
75
+
// As an example, here we are simply creating a LocalAudioStream using the current selected mic on the DeviceManager
// Pass the LocalAudioStream in audioOptions in call start/accept options.
86
+
awaitcall.startCall({
87
+
audioOptions: {
88
+
muted:false,
89
+
localAudioStreams: [localAudioStreamWithEffects]
90
+
}
91
+
});
92
+
```
93
+
72
94
### How to turn on Noise Suppression during an ongoing call
73
95
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.
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`:
98
-
```js
99
-
// As an example, here we are simply creating a LocalAudioStream using the current selected mic on the DeviceManager
0 commit comments