react-native-webrtc / react-native-webrtc/react-native-callkeep
Cannot switch between Microphone and Speaker it is taking speaker by default.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 511
- Avg merge
- 9h 12m
- Merged PRs (30d)
- 2
Description
const setAudioDevice = async (data, roomId) => {
try {
const setAudio = await RNCallKeep.setAudioRoute(roomId, data);
getListDevices();
} catch (error) {
console.log(error);
}
};
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 setAudioDevice snippet in the issue and trace RNCallKeep.setAudioRoute and getListDevices in the repository. Check the platform audio-routing implementation and determine why speaker remains selected; done means switching between microphone and speaker works as intended on the affected platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100