Closed jveenhuizen closed 2 years ago
Hello @jveenhuizen
I ran into the dispose problem here, but I work with non-video calls. Do your calls have video or are they just audio? Did you use the methods in the example to end the call? Do you have the latest (2.2.0.1) version of the sdk?
Does the problem occur on the first call after starting the app or on all calls? If it only happens from the first one, I think that the dispose is not enough and in my case I canceled the call so before closing the call I check if it is null and at the end I do this
I have seen this, but its been a while...
Like @andersonvieiragomeslopes , i think its due to lacking cleanup, but not sure... My cleanup code has been through some iterations, and at the moment it looks almost like andersons, except I also dispose the callagent, that might not be an option for you...
I also set every local to null and also cleanup event listeners.
I reported a bug to ms on this, at least i think its the same: https://github.com/Azure/Communication/issues/440
Thank you for the reply's!
Do your calls have video or are they just audio?
I'm using video
Did you use the methods in the example to end the call?
Yes I did!
Do you have the latest (2.2.0.1) version of the sdk?
I'm using 2.2.0-beta 1.4 (released for other bugfix) will try 2.2.0.1 now
Does the problem occur on the first call after starting the app or on all calls?
Yes it also happens from the first call, both answering and hanging up the call
I also set every local to null and also cleanup event listeners.
I'll try also today, hope it helps :-)
@jveenhuizen some more details here: https://github.com/Azure/Communication/issues/423
Updated to 2.2.0.1, added null checks and did some more cleanups. I haven't seen it since... fingers crossed I think?
hehe, programming and religion shouldn't be this similar, but sometimes all we can do is thoughts and prayers... keeping this open for a while, let me know if it happens again!
Assuming this is fixed since it is not occuring anymore, feel free to reopen if its still a problem
Hello!
I put the AzureCalling code in an iOS app and it works for the most part. However, sometimes (~50%) I have a crash when I hang up the call. See stack trace below. Does anyone else have this problem or am I missing something? I get almost the same crash every now and then when answering a call (~10%).