react-native-webrtc / react-native-webrtc/react-native-callkeep
The underlying audio session does not get activated propertly when receiving call in locked screen
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:
-
Android
-
iOS
Description
Everything is working when receiving calls except when the phone is in locked screen. I can hear the remote user but the remote user is not able to hear me. When I click the button to access the app, the remote user start to hear my voice. I found this thread (https://developer.apple.com/forums/thread/64544), but the workaround that they suggested, did not fix the problem.
Steps to Reproduce
Answer the call in locked screen and check if the remote user is hearing your voice.
Versions
- Callkeep: 3.1.0
- React Native: 0.61.5
- iOS: 12.4.7 and 13.5.1
- Android:
- Phone model: iPhone 6 and iPhone 8
Logs
2020-07-17 15:53:47.299383+0300[3368:2280709] [RNCallKeep][reportNewIncomingCall] uuidString = 69c1966d-52d2-43b2-a7ff-4836fb2fb88b
2020-07-17 15:53:47.301224+0300[3368:2280709] [RNCallKeep][configureAudioSession] Activating audio session
2020-07-17 15:53:50.425683+0300[3368:2280709] [RNCallKeep][CXProviderDelegate][provider:performAnswerCallAction]
2020-07-17 15:53:50.798202+0300[3368:2280709] [RNCallKeep][CXProviderDelegate][provider:didActivateAudioSession]
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 example used to reproduce the issue and trace the reportNewIncomingCall, configureAudioSession, performAnswerCallAction, and didActivateAudioSession entry points. Reproduce an incoming call while the iPhone is locked and verify that the remote user can hear the caller before the app is opened.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native
- Domain
- audio-video-rtc, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100