react-native-webrtc / react-native-incall-manager

Handling media-routes/sensors/events during a audio/video chat on React Native
ISC License
557 stars 195 forks source link

react-native-callkeep-coop #166

Open Kelt opened 3 years ago

Kelt commented 3 years ago

same as issue https://github.com/react-native-webrtc/react-native-callkeep/issues/437

any ideas, is anyone using these two modules together without audio routing issues ?

zxcpoiu commented 3 years ago

It's a bit complicated since CallKit has system level priority.

Have you tried to not using incall manager on iOS when you use CallKit? Callkit should handles your audio route well I believe and in recent version it has the ability to choose audio route on iOS which does not supported in incall manager currently.

My thought currently on using callkit with incall manager is: If using CallKit on iOS / ConnectionManager on Android, then you better not using incall manager's automatic mode. (said, start() / stop())

Only use incall manager's some functions to tweak some edge behavior if it works for you, like setXXXX()