setNoiseSuppression

View as MarkdownOpen in Claude
setNoiseSuppression(enabled): Promise<void>

Toggle browser noise suppression on the local mic at runtime.

Parameters

enabled
booleanRequired

Whether noise suppression should be enabled.

Returns

Promise<void> — resolves once the new constraint has been applied to the active microphone track.

Examples

Toggle from a UI switch

denoiseSwitch.addEventListener('change', async (e) => {
await call.setNoiseSuppression(e.target.checked);
});

See