Open dpatel-jac opened 1 month ago
Thanks for reporting, I found this is a known issue internally, it will be fixed in the next release.
@littleGnAl , Is there any ETA for new version for this issues? or let me know if you provide intermediate solution to mitigate this crash issues.
It's, unfortunately, there's no workaround in the agora_rtc_engine
since it crashed in the Agora Native SDK.
Bug:- Android App Getting Crashed after accepting Incoming call on system apps
We integrate agora as video calling feature in our app. It working fine in most of the cases, but in situation application will terminate due to NullPointerException. Please follow exception logs and suggest me possible outputs.
Exception details Fatal Exception: java.lang.NullPointerException Attempt to invoke interface method 'void io.agora.rtc2.internal.AudioRoutingController$ControllerState.setState(int)' on a null object reference
StackTrace io.agora.rtc2.internal.AudioRoutingController$2.run (Unknown Source:7) android.os.Handler.handleCallback (Handler.java:883) android.os.Handler.dispatchMessage (Handler.java:100) android.os.Looper.loop (Looper.java:214) android.os.HandlerThread.run (HandlerThread.java:67)
Here is sample code for connection to agora channel.