enableTransientANS method
- bool enable
Enables or disables transient noise suppression.
Available since: 1.17.0 Description: Enable the transient noise suppression can suppress the noises such as keyboard and desk knocks. Use case: When you need to suppress transient noise to improve call quality and user experience, you can turn on this feature. Default value: When this function is not called, this is disabled by default. When to call: It needs to be called after createEngine. Related APIs: This function will not suppress normal noise after it is turned on. If you need to turn on normal noise suppression, please use enableANS. Restrictions: None.
enable
Whether to enable transient noise suppression, true: enable, false: disable
Implementation
Future<void> enableTransientANS(bool enable) async {
return await ZegoExpressImpl.instance.enableTransientANS(enable);
}