react-native-webrtc / react-native-webrtc/react-native-callkeep

Cannot switch between Microphone and Speaker it is taking speaker by default.

Open
#729 1 comment 2 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.