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

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

[Android]: Does the react-native-webrtc or the react-native-incall-manager have anything for continuing audio on app Background? #204

Open SavinderSingh opened 1 year ago

SavinderSingh commented 1 year ago

this question is already existed... But there is not any solution...

IOS works fine... But in android, when app in background mode, there is no audio or mic works, when comes on foreground, it works again fine...

How can i make it working when app in foreground as well as background both.

Please help me to solve this.

adriano-rodrigues99 commented 1 year ago

I had the same problem and I solved using that solution https://react-native-webrtc.github.io/handbook/guides/extra-steps/android.html

SavinderSingh commented 1 year ago

I had the same problem and I solved using that solution https://react-native-webrtc.github.io/handbook/guides/extra-steps/android.html

Thanks For ur help... i also updated my code as per this documentation, but still issue existed... this issue mainly existed in SAMSUNG S10 device...in other android devices it works fine...

hanios123 commented 1 year ago

@SavinderSingh please check my comment here

vanGalilea commented 1 year ago

@zxcpoiu this is a duplicate can you close this one?