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

[bug] Audio lost / distorted audio on Mac when bluetooth device is connected and user mutes / unmutes. #666

Open
ourdex opened this issue Dec 23, 2024 · 3 comments

Comments

@ourdex
Copy link

ourdex commented Dec 23, 2024

Describe the bug

On macOS, when using a Bluetooth audio device (e.g., AirPods) during a call, muting and unmuting the microphone causes audio loss. Users either hear no sound or experience crackling noises.

To Reproduce

  1. Initiate an audio/video call with another user.
  2. Connect a Bluetooth audio device (e.g., AirPods).
  3. While the other user is speaking, mute your microphone and wait for 2–3 seconds.
  4. Unmute the microphone.

Expected behavior

Audio should remain clear and uninterrupted regardless of the mute/unmute action.

Platform information

  • Flutter version: 3.22.2
  • Plugin version: 2.3.2
  • Flutter target OS: Mac
  • Flutter target OS version: 14.7

P.S: The same behavior can be observed even in the example app.

@ourdex
Copy link
Author

ourdex commented Dec 29, 2024

@cloudwebrtc . Let me know if you need any other information. Hope you got the problem.

@cloudwebrtc
Copy link
Contributor

Hmm. I have reproduced this issue and looking for the reason.

@skutimechanic
Copy link

We have the same problem in our application and, in addition, the audio problem occurs on the iOS platform. The problem on the iOS platform lies in the change of the output device when muting / unmuting the microphone.

To Reproduce

  1. Initiate an audio/video call with another user.
  2. Connect a Bluetooth audio device (e.g., AirPods).
  3. Set bluetooth device as output device (This is done by changing between earpiece/speaker or automatically when a connection is established with the device.)
  4. While the other user is speaking, mute / unmute your microphone.

Expected behavior

Audio should remain on the device it was on before the microphone status change.

P.S: I was able to reproduce both of the above problems in the example app

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

3 participants