How to leave meeting via api

Currently, if a user which is already joined into a meeting, closes its tab or browser. Then the user still show joined into meeting for 2 minutes. After 2 minutes his session actually leaves the meeting.
Is there any way to change this time? Or If the value can’t be changed then how can I call leave meeting for that particular user from backend server via API. I searched on api doc, did not find any api through which I could programatically call leave meeting.

Which Web Meeting SDK version?
@zoomus/websdk: 2.8.0
Type: Component View

Hi @aayush.jain ,

That is default behavior, as the timeout caters to users who accidentally close their tab, and wants to rejoin the meeting.

Could you share whats the scenario you are trying to achieve?

Another way is to use the API to end meeting, but I’m not sure if it is suitable for your scenario or not.

@aayush.jain here is API within Meeting WebSDK ZoomMtg.leaveMeeting();. For more regarding Zoom Integrations →

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