Unity-Technologies / Unity-Technologies/com.unity.webrtc

[REQUEST]: Configurable audio options (noise suppression, auto gain, etc.)

Open
#587 20 comments 2 reactions 1 assignee View on GitHub

@karasusan is already working on this.

Since Jan 12, 2022.

enhancement issued
Dominant language
Assembly
Stars
852
Forks
238
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem?

There is a ton of white noise 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:

image

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:

image

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.