Closed vishaledkey closed 1 year ago
Seems like you are using the Android SDK, not the react-native SDK. You can ask for tech support.
Hi @LichKing-2234, I'm actually new to React-Native but I have added the Agora library to my react-native project and I'm using the generated native classes from it. My package.json
"react-native": "0.71.6",
"react-native-agora": "^4.2.1",
There's no mention of agora in my build.gradle
file. Also, in the below screenshot, you'll find the same generated library I'm referring to.
Describe the bug I have a ForegoundService in my react-native app, and it records the audio for 40 minutes. After 40 minutes service automatically stops. Previously I was using MediaRecorder to record audio and send that file to BE. But we were facing issues with uploading those recordings so we decided to go with Agora Streaming. So far it is working fine with iOS, but for Android, in some devices like Oneplus 6(A60000) the App is getting killed after 10-15 minutes and I couldn’t find anything meaningful in the logcat on the Android Studio. I enabled the Agora logs to see more detailed logs.
To Reproduce Steps to reproduce the behavior:
[ADGM-UP](0x70d349b2b0): state 50, category 53, reason -1 due to invalid send bitrate 0, audio send stream size 1
Expected behavior Behavior should be consistent across all Android devices and the app should not get killed after 10 minutes when the user locks the screen.
Smartphone (please complete the following information):
Additional context Agora Logs:
My Foreground service: