stasel / WebRTC-iOS

A simple native WebRTC demo iOS app using swift
Apache License 2.0
1.09k stars 238 forks source link

By using "GoogleWebRTC", How can we avoid NOISE SUPRESSION #125

Open BrahmamM opened 1 year ago

BrahmamM commented 1 year ago

Hello,

Android Platform used following stuff to avoid Noise Suppression


WebRtcAudioUtils.setWebRtcBasedAcousticEchoCanceler(true); WebRtcAudioUtils.setWebRtcBasedAutomaticGainControl(true); WebRtcAudioUtils.setWebRtcBasedNoiseSuppressor(true);

For iOS Platform


Please let me know, what to use to avoid Noise Suppression and Echo Cancellation

Thanks

stasel commented 1 year ago

Hi @BrahmamM After looking at the source code it looks like those methods are for Android only. I am not an expert on audio but I think that iOS has AVAudioSession to handle audio

BrahmamM commented 1 year ago

Okay.. can you suggest me how to avoid noise cancellation in iOS?