User suddenly left the meeting

I have integrated the SDK in our app and tried a group meeting, then we tried that 1 user just left without clicking on the leave meeting button, so his/her name is still listed in the participants list.

How can we remove his/her name in the list or marked as left in the meeting?

Hi @dashawk,

Right now if the user leaves by closing the browser or outside of clicking the leave meeting, they will still show up within the participants list for another moment or so. This is a known bug that we have and are working on fixing this.

If you want to know when a person leaves a meeting you can use you participant left meeting webhook - https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-left

Thanks

I see that its an api implementation, but since Iā€™m using an SDK, I would like to have it in the SDK as well, maybe an event subscription feature would be nice in SDK. For now I will just have to wait for the development.

Thanks

Hey @dashawk,

Checkout the inMeetingServiceListener function which is being released in version 1.8.0:

https://zoom.github.io/sample-app-web/ZoomMtg.html#inMeetingServiceListener

Stay updated here:

https://marketplace.zoom.us/docs/changelog
https://marketplace.zoom.us/docs/guides/getting-started/stay-up-to-date/upcoming-changes/web-sdk

Thanks,
Tommy

1 Like

Wow I can finally test it. Thanks

Happy to help @dashawk!

Thanks,
Tommy

1 Like

Hi @tommy, the version 1.8.0 is still not released? I can still see the 1.7.8 release in npm.

Also in this snippet, how can we remove the user in the list of participants after this is triggered?

ZoomMtg.inMeetingServiceListener('onUserLeave', function (data) {
  console.log(data);
});

Hey @dashawk,

You can see the schedule for 1.8.0 here:

You can kick users via the expel function.

Thanks,
Tommy

Thanks for this @tommy.