Need to handle User Disconnect and Leave before they happen

Description
In my application I need to be able to intercept the MEETING_STATUS_DISCONNECTING and MEETING_STATUS_ENDED events before they happen so my application can display a message to the user, log some data, etc.

I also need the ability to cancel the event in the case where the user mistakenly leaves a meeting.

I see I can listen for the 2 status changes above, but I do not see where I can cancel them from having an effect on my applications ability to stop them from happening.

Hey @p3john,

Thanks for using the dev forum!

I do not believe it is possible to retrieve these before the callbacks have provided them.

Thanks!
Michael

Thanks for getting back to me Michael! I didn’t think so either by looking over the documentation.
Thanks for confirming.

John

Hey @p3john,

You’re welcome! Please let us know if you have any other questions :slight_smile:

Thanks!
Michael