We are using audio streaming of com.unity.webrtc@2.4.0-exp.5 to add chat function in our game. But there is too much background noise. It seems noise_suppression option is set to false by default in WebRTCPlugin according to the code here https://github.com/Unity-Technologies/com.unity.webrtc/blob/develop/Plugin~/WebRTCPlugin/Context.cpp .
Is it possible for us to use noise suppression in game now? Or where can we find a filter for noise reduction?
Thank you.
Hi, we haven’t support noise suppression yet.
Same issue is reported here.
opened 12:35PM - 12 Jan 22 UTC
enhancement
issued
### Is your feature request related to a problem?
There is a ton of white noi… se and the user gets too loud when the phone's volume is above 50% when they join a call. This is for the scenario where you're transmitting the user's microphone. This can make for some very unpleasant calls.
### Describe the solution you'd like
Let us access this in the nice C# land interface:

I have set these to true myself and built for Android and tested, but nothing happened.
I then tried to supply an Audio Processing module to the peer connection factory, but this also changed nothing:

It seems the solution may need to change the OnData implementation in UnityAudioTrackSource to use the APM.
### Describe alternatives you've considered
Detecting the user's current volume and showing a warning when it becomes too high that it will cause a poor call experience. This isn't a good solution though.
### Additional context
_No response_
Thank you for your reply.
When shall noise suppression be supported officially? And any suggestion about noise suppression we can do now.
Sorry but we cannot say the date for supporting it. Maybe it can be started developing this year.