react-native-webrtc / react-native-webrtc/react-native-incall-manager

BLUETOOTH Device not listed

Open
#236 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.