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

React Native SDK audio does not work with Bluetooth device #6146

Closed
yashtandon113 opened this issue Mar 1, 2024 · 7 comments
Closed

React Native SDK audio does not work with Bluetooth device #6146

yashtandon113 opened this issue Mar 1, 2024 · 7 comments
Assignees
Labels

Comments

@yashtandon113
Copy link
Contributor

We are currently utilizing the Ant Media React Native SDK for publishing, streaming, and conducting conference calls within our application. However, we have encountered an issue where users are experiencing difficulties with audio when using Bluetooth devices.
Specifically, when users attempt to utilize Bluetooth for audio input and output during conference calls, the audio functionality does not function as expected. We have investigated potential causes internally, but we have not been able to resolve the issue thus far.

@mustafaboleken
Copy link
Contributor

Hi

I worked on this issue and thought it should be done inside the SDK. What you can do is we already use In Call Manager inside the sample apps.

-> Detect device changes using Device Event Emitter with subscribing 'onAudioDeviceChanged' event.
-> Route to the desired device using In Call Manager's chooseAudioRoute function. (possible parameters are BLUETOOTH, EARPIECE, SPEAKER_PHONE)

@burak-58 burak-58 moved this from 🏗 In progress to After sprint in Ant Media Server Apr 15, 2024
@yashtandon113
Copy link
Contributor Author

We checked the event 'onAudioDeviceChanged' listener but this is not giving us any callback when we attached the headset with our phone . Please suggest if there is any solution regarding this issue

@burak-58 burak-58 moved this from After sprint to 🏗 In progress in Ant Media Server Apr 23, 2024
@accesssolid
Copy link

Could you please provide any updates on this? We're stuck and eager for a resolution. Thank you!

@mustafaboleken mustafaboleken moved this from 🏗 In progress to 📋 Backlog in Ant Media Server Apr 29, 2024
@mekya
Copy link
Contributor

mekya commented May 6, 2024

Hi @yashtandon113,

Let's synch about this issue in one of the daily-standup.

Cheers
Oguz

@mekya mekya moved this from 📋 Backlog to 🔖 Sprint in Ant Media Server May 6, 2024
@mustafaboleken
Copy link
Contributor

Hi

React Native SDK is focused on using the WebRTC library to make it work on top of the Ant Media Server's WebRTC stack. We are just using the in-call manager library for checking and managing audio devices. When I checked the issues on the original repository, I saw that it's a known issue that Bluetooth devices are not working properly right now. You can check the following issue to check the status. react-native-webrtc/react-native-incall-manager#237

@mekya
Copy link
Contributor

mekya commented May 6, 2024

Hi @accesssolid ,

Let us know if it makes sense or you have any question

Regards
Oguz

@burak-58 burak-58 moved this from 🔖 Sprint to After sprint in Ant Media Server May 13, 2024
@burak-58
Copy link
Contributor

burak-58 commented Jul 1, 2024

I am closing this because of inactivity.

@burak-58 burak-58 closed this as completed Jul 1, 2024
@github-project-automation github-project-automation bot moved this from After sprint to ✅ Done in Ant Media Server Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

6 participants