C# SDK: Remove_CB_onUserLeft not triggering at random

Description
Hi, I’ve updated my C# App with wrapper v5.7.6.1079 and started to have problems with the user leave callback not being called. This happens at random. When this happens, if I ask the SDK the list of participants I see that the ID of the participant that left is still included, and will never timeout/leave.
This is a major problem since I am using custom UI and tiles are never removed because I have no way to know that it happened.

Which Desktop Meeting SDK version?
C# wrapper v5.7.6.1079

Hey @bragma,

Thanks for using the dev forum! It is nice to see you again :slight_smile:

The C# wrapper is not actively maintained by Zoom and developer support is limited for it. However, if a bug exists in both the wrapper and the standard SDK, it is likely a bug with the SDK itself and we can investigate/resolve it. Can you run the C++ demo application and let me know if you see the same issue there? onUserLeave is already implemented there for both default and custom UI. If you do not see the same issue there, it is likely that the C# wrapper is not wrapping something properly and would have to be modified locally.

Thanks!
Michael

I’ll try but it may prove to be a hard task. The problem does not show up by just calling Remove_CB_onUserLeft and logging in the callback. I’ve found out that video must be on, and connection/disconnection must be repeated several times.
Since I just swapped the SDK without touching my code (which worked for the past year) I was looking for some insight on what SDK internal changes may have caused the problem.

On a side note, do you have any idea on how it can happen that non only I don’t received the event, but also the user is still in the list of participants obtained from participantsController.GetParticipantsList() ?

Hey @bragma,

When are you calling participantsController.GetParticipantsList()?

Thanks!
Michael

@Michael_Condon

A added a debug button to our client that causes a call to participantsController.GetParticipantsList(). Then I connect with our mobile app, and disconnect. After a few times (enter/leave), the Leave event is not called and the video in the tile of that user remains freezed. I press the debug button and log the list of users. The Id of that user is still in the list.

As a side note, we moved from v5.4.54802.0124 to v5.7.6.1079. but v5.7 showed the problem. In its state we can’t release. We tried v5.5.12511.0422 and it works, so the problems seems to be limited to v5.7

Hey @bragma,

Can you reproduce the issue once more then send me an email to DeveloperSupport@zoom.us with the following info:

  1. Reproduction steps
  2. SDK logs
  3. A link to this post
  4. Mention my name

Thanks!
Michael

Sure I can. No problem in giving you the log. The problem is that I have not been able to test the demo app, so at the moment I found the problem only on our app.
To enable SKD internal logs, it is this correct (i.e. enable_log = true)?

				var res = sdk.Initialize(new InitParam
				{
					enable_log = true,
					web_domain = "https://zoom.us",
					config_opts = new ConfigurableOptions
					{
						optionalFeatures = (1 << 5)
					}
				});

Thanks!

Hey @bragma,

Yep that is correct, the logs should then show up in %appdata%/roaming/zoomsdk.

Thanks!
Michael

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.