Need to understand the event flow of Jitsi IFRAME API

Hi, thanks to Jitsi community.
I’ve recently started learning about video conferencing, jitsi and XMPP. and also I’ve found Iframe API document to integrate jitisi in our web app, and got small confusions about the internal flow.
Ex: when host quits -> participantRoleChanged event got fired, here how it’s checking the backend call to JICOFO, which is the jar deployed in server.

How the code know origin to make certain changes and give control to other.
@damencho please help
Thanks.

1 Like