enableNoiseCancellation
Turns noise cancellation on or off dynamically. It only applies when a call is active. No-op if called when no room is joined. To turn on noise cancellation by default look into the property enableNoiseCancellation
of live.hms.video.media.settings.HMSAudioTrackSettings and set it in the builder property while creating an HMSSDK instance. Will not be enabled if isNoiseCancellationAvailable returns anything other than AvailabilityStatus.Available. isNoiseCancellationAvailable will also list the reason why it can't be enabled.
Parameters
enable
true if requesting to turn on, false if requesting to turn off.
hmsActionResultListener
will call onSuccess if the operation succeeded, onError if it failed.