react-native-webrtc / react-native-webrtc/react-native-callkeep
setAudioRoute not working in IOS
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 511
- Avg merge
- 9h 12m
- Merged PRs (30d)
- 2
Description
Bug report
-
I've checked the example to reproduce the issue.
-
Reproduced on:
-
iOS
Description
Im building an Video call app which uses Stream sdk where Im working on audioroute functionality. Im not able to settheaudio route.
Steps to Reproduce
So I was trying to change the audio route in IOS. I first getAudioRoutes It gives me [{"name": "Speaker", "selected": true, "type": "Speaker"}, {"name": "iPhone Microphone", "type": "Phone"}].
After that I try to set using await RNCallKeep.setAudioRoute(uuid, routeName); with routeName as name. But this function is not setting the audio route.
Versions
- Callkeep:4.3.13
- React Native: 0.72
- iOS: 18.1.1
- Phone model: Iphone 11
Logs
Im not even able to see any logs.
Paste here
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 by reproducing the iOS behavior with RNCallKeep.getAudioRoutes and RNCallKeep.setAudioRoute using the reported route names and versions. Trace the iOS implementation behind these entry points and verify that selecting a different route changes the active audio route and produces useful logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100