twilio / audioswitch

An Android audio management library for real-time communication apps.
Apache License 2.0
163 stars 50 forks source link

Switching to Bluetooth disconnect the user from call on Realme 5s #98

Closed vismay11 closed 10 months ago

vismay11 commented 3 years ago

Describe the bug When the user joins the call selecting speaker or wired headphones the user is able to speak and hear everyone but as soon as the user switches to Bluetooth earphones then the user gets disconnected from the call. It is also tested on video-quickstart-android and gives the same result. I will add steps to reproduce in video-quickstart-android.

To Reproduce Steps to reproduce the behavior:

  1. Use Realme 5s and Connect to the Room by entering Room Name
  2. Once connected then switch to Bluetooth earphones
  3. As soon as earphones get connected the user will be disconnected.

Expected behavior Once Bluetooth earphones get connected the user should be able to hear the voice from it.

Actual behavior As soon as the Bluetooth earphones get connected the user disconnects from the call.

AudioSwitch Version

Android Device:

vismay11 commented 3 years ago

@paynerc any update on this?

Alton09 commented 3 years ago

Hi @vismay11 ! Sorry for the delay on this one. Our bandwidth is limited at the moment for AudioSwitch support. I'll add a ticket for this one in our backlog to have our team look into this issue when we have a chance. Thanks!

vismay11 commented 3 years ago

Hi @Alton09, thank you!

akardas16 commented 1 year ago

We also have same issue (happened on Samsung S20 FE). Because of that issue it is not appropriate to use this library. (After connecting Bluetooth, call is finished a few seconds later) I hope someone could fix that issue.

Update: After I added the library as module, this bug has disappeared. Looks like there is no issue with codes

ocarevs commented 1 year ago

Hi @vismay11 would it be possible to add logs when you encounter this issue?

afalls-twilio commented 10 months ago

@akardas16 Can you provide more information on your statement as "After I added the library as a module, this bug has disappeared". What do you mean by "After I added the library as a module?"

akardas16 commented 10 months ago

Screenshot 2023-11-14 214813 I have imported library to my project instead of adding it as dependency

@akardas16 Can you provide more information on your statement as "After I added the library as a module, this bug has disappeared". What do you mean by "After I added the library as a module?"

afalls-twilio commented 10 months ago

Closing, issue due to customer error