# Detecting User's removal from a meeting

**URL:** <https://devforum.zoom.us/t/detecting-users-removal-from-a-meeting/29887>\
**Category:** Web\
**Created:** [September 11, 2020, 8:38am UTC](https://devforum.zoom.us/t/detecting-users-removal-from-a-meeting/29887 "2020-09-11T08:38:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerzy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jerzy/32/888_2.png) [@jerzy](https://devforum.zoom.us/u/jerzy)\
**Post date:** [September 11, 2020, 8:38am UTC](https://devforum.zoom.us/t/detecting-users-removal-from-a-meeting/29887/1 "2020-09-11T08:38:40Z")

</div>

**Description**  
I would like to detect a situation (get a callback?) in which the user connected to some Zoom meeting through the Web SDK gets removed by the host.

**Error**  
I had some hope that I’d be able to detect that with the new 1.8.0 ‘inMeetingServiceListener’ feature.  
However I don’t get any callback when using that. I’ve tried to connect all the events provided in the docs: ‘onUserJoin’, ‘onUserLeave’, ‘onUserIsInWaitingRoom’, ‘onMeetingStatus’. None of them get called when the user gets removed from the meeting.

**Which version?**  
1.8.0

**To Reproduce**  
Steps to reproduce the behavior:

1. (Host) Start a meeting
2. (User) Connect to it using Web SDK client
3. (Host) Remove the User by clicking ‘Remove’
4. (User) My JavaScript code is unable to get the information that the user got removed from the meeting.

**Additional context**  
I see that the Zoom Web SDK is aware of getting disconnected, however the inMeetingServiceListener doesn’t provide that info.  
All I see in the console is  
video\_websocket\_on\_close  
sharing\_websocket\_on\_close  
Maybe there are some other inMeetingServiceListener events which might help?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 14, 2020, 10:33pm UTC](https://devforum.zoom.us/t/detecting-users-removal-from-a-meeting/29887/2 "2020-09-14T22:33:55Z")

</div>

Hey @jerzy,

Have you tried using the [Participant Left Meeting webhook](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-left)?

If that won’t work for your use case, I will add this as a feature request, to detect a users removal via the inMeetingServiceListener. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![jerzy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jerzy/32/888_2.png) [@jerzy](https://devforum.zoom.us/u/jerzy)\
**Post date:** [September 15, 2020, 2:10pm UTC](https://devforum.zoom.us/t/detecting-users-removal-from-a-meeting/29887/3 "2020-09-15T14:10:08Z")

</div>

Thanks for your answer, @tommy!

We’ve already tried the webhook and we were unable to pinpoint the exact client instance to be disposed, due to how our system works.

I’d appreciate putting this on your ‘feature request’ list. 🙂

Thanks,  
Jerzy

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [September 16, 2020, 1:44am UTC](https://devforum.zoom.us/t/detecting-users-removal-from-a-meeting/29887/4 "2020-09-16T01:44:04Z")

</div>

+1 here too.

Webhook are a good thing but definitely not the way to go for a reactive front end application.  
Please increase the number of event / action we can subscribe on the Web SDK api.

@tommy : is it possible to make a more generic feature request to add any / all kind of event that could happen during a meeting ? The more option are offered to us the better.

Thank you.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 17, 2020, 5:03am UTC](https://devforum.zoom.us/t/detecting-users-removal-from-a-meeting/29887/5 "2020-09-17T05:03:11Z")

</div>

Hey @nvivot, @jerzy,

Thanks for the info! 🙂

I have just added this as a feature request in our backlog. (CS-2325)

I will update you once we start development on it.

-Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 17, 2020, 3:03pm UTC](https://devforum.zoom.us/t/detecting-users-removal-from-a-meeting/29887/6 "2020-10-17T15:03:12Z")

</div>

Closed on October 17, 2020, 3:03pm UTC

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