react-native-webrtc / react-native-webrtc/react-native-incall-manager
BLUETOOTH Device not listed
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 597
- Forks
- 201
- Avg merge
- 2h 42m
- Merged PRs (30d)
- 1
Description
Hello, i am trying to get the list of all audio devices wich are connected to a android phone.
InCallManager.start({ media: "audio" });
DeviceEventEmitter.addListener("onAudioDeviceChanged", (event) => {
console.log(event.availableAudioDeviceList);
});
//output: ["EARPIECE","SPEAKER_PHONE"]
//expected output: ["BLUETOOTH","EARPIECE","SPEAKER_PHONE"]
I am trying it with a bluetooth speaker and with airpods on a xiaomi redmi 12 phone.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Android handling behind InCallManager.start and the onAudioDeviceChanged event; the issue names no source file or test. Reproduce on a Xiaomi Redmi 12 with a Bluetooth speaker or AirPods and trace the reported device list. Done means the event includes BLUETOOTH alongside EARPIECE and SPEAKER_PHONE when a Bluetooth device is connected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, react-native
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100