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

setAudioRoute method does not work on Android

Open
#810 0 comments 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

I have custom call setup via WebRTC, all the screens are custom. I needed callkeep for audio routing in the call.

I use getAudioRoutes to get available audio routes that are connected to the devices. So i can make a list of them and let the user choose which device to use as audio output. Like BT Headset, Speaker, Earpiece etc...

The problem is setAudioRoute method does not work on Android. It works good on IOS with my Iphone 13 (IOS 18). But on Android could not make it work.

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 by reproducing the Android behavior using getAudioRoutes and setAudioRoute with the custom call setup described in the issue. Inspect the Android implementation and verify whether selecting each available route changes the active audio output; done means route selection works on Android as it does on iOS.

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
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.