setNoiseSuppression

View as MarkdownOpen in Claude
1setNoiseSuppression(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

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

See