Communication
Communication copied to clipboard
Random disconnect on mobile
Group Call state sometimes suddenly switches to disconnected without any reason I can see... MIGHT be flaky wifi, if so I apologize in advance... Ive seen this happening on both ios and android, but usually during the first few minutes of a call, if the call is established for 5 minutes it will usually continue fine...(Ive been running calls on my desk while working to test...)
I hope you can see the cause from the attached logs. The last disconnect was received 2021-02-25 12:34:38.4775 local time. logs.zip
@kagbakpem this is reproducible in Android as well, can you take a look ? I already have a couple of other iOS related bugs to look at.
Not sure if its related but got this now, on iOS when trying to cleanup after a (seemingly random) state=disconnect change:
2021-03-02 17:07:03.469 HerosRemote.iOS[432:689062] *** Assertion failure in -[SkyLibPreviewVideo removeAllVideoTargets](), /Volumes/ServerHD2/agent/_work/1/s/SpoolCallingStack/spool/sdk/iOS/ACSCallingSDK/SKPPullVideoRenderer/SkyLibPreviewVideo.mm:309
After reading about https://github.com/Azure/Communication/issues/211 I started creating ACSClient with a completely new Token/user each time(instead of caching Token which SEEMED logical to me...), and havent had any disconnects since, assuming there might be a connection here, will update if disconnects starts happening again. Feel free to close for now if you think this might be the reason