Security Question: how does jitsi client communicate with jitsi server from iframe?

Hi guys!
How does the jitsi client interact with the jitsi server from the iframe?
How is the service worker involved?
Is there any kind of streaming diagram?

For signalling it uses a bosh or websocket connection and for the media it uses webrtc api.