Hey @hisham,
Are you seeing a crash when a user leaves in the latest version of the video sdk?
Thanks!
Michael
Hey @hisham,
Are you seeing a crash when a user leaves in the latest version of the video sdk?
Thanks!
Michael
I have version v1.1.0 (8619.0611) zoom-video-sdk-iOS-1.1.0
I’m not sure if that’s the latest one or not
Hey @hisham,
That is indeed the latest, would you mind sharing your code that is in your onUserLeft callback?
Thanks!
Michael
here is it
func onUserLeave(_ helper: ZoomVideoSDKUserHelper!, users userArray: [ZoomVideoSDKUser]!) {
// UserArray contains the users that recently left.
// Use helper to perform actions on a user.
if let userArray = userArray {
for user in userArray {
// print(user)
// Get User's videoCanvas.
if let usersVideoCanvas = user.getVideoCanvas() {
// Unsubscribe User's videoCanvas to render their video stream.
usersVideoCanvas.unSubscribe(with: self.partyCamView)
}
}
}
}
I tried to add a breakpoint on the first line but the crash happens without fire that breakpoint,
also, the crash error is the following :
-[ZoomVideoSDKUserImpl retain]: message sent to deallocated instance
I think it’s trying to retain a released object
Hey @hishaml,
Would you be able to reproduce the crash one last time then do the following:
Thanks!
Michael
Basically,
Error occurs in Device A (IOS version) when execute endSession(false) in Device B
Hey @ibrahim.aljameel,
Thanks for using the dev forum!
Are you on the latest version of the SDK?
Thanks!
Michael
Hi, having the same issue using zoom video SDK 1.1.2.
Are there any updates on possible fixes or workarounds?
Hey @frkizg,
Thanks!
Michael
Hi @frkizg,
We have identified a fix for this, which will be included in a new release later this month. Please let me know if you are still able to reproduce after updating once that release is available.
In case you weren’t already aware, we will post in #new-releases once the new version is available with a link to our full release notes.
Thanks!