Description
When multiple users leave a session at a similar time (within ~1 sec), only one user leaving is reported via:
onUserLeave(_ helper: ZoomVideoSDKUserHelper?, users userArray: [ZoomVideoSDKUser]?)
Which iOS Video SDK version?
- 1.3.0 - 1.3.3
To Reproduce
Steps to reproduce the behavior:
- Create a session and make 3 users join the session
- Make 2 users leave the session roughly at the same time - tap leave button on 2 devices at the same time
- The third users that is still in the session gets
onUserLeave
called only once with theuserArray
with only 1 user object.
Additional context
What i’ve noticed is that users that leave the room often have ZoomVideoSDKUser.getUserID
with value of 0
(which is also wrong and could be reported as a separate issue).
If multiple users have the same userID
they treated as the same user, causing the issue .
IMO fixing the userID = 0
would help fix both issues.