Sound options
By default, Zoom uses noise suppression and echo cancellation to improve the quality of the audio received by your microphone, but these audio filters can interfere with situations that require capturing the full range of audio. See Configuring professional audio settings for Zoom Meetings for details.
Video SDK uses the same technology to improve audio quality, but also supports the ability to turn off these filters to capture the original sound of the microphone, for example, to support the use of a high-quality microphone with built-in audio filters or to capture the full audio range without noise suppression. Capturing the microphone's original sound disables the background noise suppression feature.
Video SDK for web supports the following sound options.
- Capturing original sound, including high fidelity and stereo audio
- Background noise suppression
Original sound
You can set original sound for hifi for high fidelity audio or stereo for stereo audio when connecting to session audio or after connecting. These options default to false. You can enable them together or separately.
When connecting
Enable original sound when connecting to session audio using originalSound.
stream.startAudio({ originalSound: true });
Enable both the hifi and stereo options when connecting to session audio.
stream.startAudio({
originalSound: {
stereo: true,
hifi: true,
},
});
After connecting
Enable or disable these options after connecting to session audio.
To enable, set enableOriginalSound to true.
stream.enableOriginalSound(true);
Enable both hifi and stereo options.
stream.enableOriginalSound({
hifi: true,
stereo: true,
});
To disable, set enableOriginalSound to false.
stream.enableOriginalSound(false);
Disable both hifi and stereo options.
stream.enableOriginalSound({
hifi: false,
stereo: false,
});
Background noise suppression
Enable advanced AI background noise suppression for all desktop browsers, which suppresses background noise in your environment like dogs barking, lawn mowers, clapping, fans, pen tapping, and other unwelcome distractions. For WebAssembly audio, this feature requires SharedArrayBuffer. It is not required for WebRTC audio.
You can enable it when connecting to session audio using backgroundNoiseSuppression.
stream.startAudio({ backgroundNoiseSuppression: true });
Or you can enable or disable it after connecting to session audio.
To enable, set enableBackgroundNoiseSuppression to true.
stream.enableBackgroundNoiseSuppression(true);
To disable, set enableBackgroundNoiseSuppression to false.
stream.enableBackgroundNoiseSuppression(false);