Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set AVSession.Mode to "measurement" on iOS #315

Closed
akreal opened this issue May 18, 2024 · 2 comments
Closed

Set AVSession.Mode to "measurement" on iOS #315

akreal opened this issue May 18, 2024 · 2 comments

Comments

@akreal
Copy link

akreal commented May 18, 2024

Is your feature request related to a problem? Please describe.

I'd like to set AVSession.Mode to "measurement" on iOS to disable pre-processing like echo cancellation and noise suppression (it seems to remove background music that I'd like to record).

Describe the solution you'd like

Would you accept such code change at all?

What configuration parameter should be used for this?

  • new parameter mode with additional possible values for iOS modes;
  • existing parameter autoGain: which it's false, set the mode to "measurement" on iOS.

Describe alternatives you've considered

None

Additional context

https://stackoverflow.com/questions/58472683/cancel-ios-microphone-echo-cancellation-and-noise-suppression
https://developer.apple.com/documentation/avfaudio/avaudiosession/mode/1616608-measurement

@akreal
Copy link
Author

akreal commented May 20, 2024

Never mind, this actually did not help me. I'm looking for other options to disable the denoising.

@llfbandit
Copy link
Owner

So I'm closing this since this is irrelevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants