How do I detect events when I click the browser's Stop Sharing button

I’m using lib-jitsi-meet.
How do I detect events when I click the browser’s Stop Sharing button after sharing a screen?
I thought this event was SCREENSHARING_USER_CANCELED.
But it doesn’t work.