How detect hangup

Hi, I’m very new to programming, I’m using the API to integrate jitsi to my VueJS project.
So far I’m fine, but I’m at the point where I need to detect when the call ended, and then execute a method, but I can’t understand how to detect this situation,
regards.

When do you decide a call has ended? When there are 2 participants and 1 leaves? In that case you should look for the participant left event and do the needful in that case. We don’t maintain any Vue library, so I’m not sure how these events are exposed there.

this may help