- How to Prosody send & receive signals between participants ?.
- How to Jicofo manage the session between participants ?.
- How to focus create and join ? .
Prosody is just the xmpp server and does not do anything special. Clients and jicofo just enter a regular muc.
The flow is that the client establishes an xmpp connection and sends a conference IQ to jicofo, and it is jicofo that creates the room if not created, does additional checks if needed (in case of authentication enabled https://github.com/jitsi/jicofo#secure-domain). And when jicofo returns success the client joins the muc (https://xmpp.org/extensions/xep-0045.html). When there are more than one participants in the muc jicofo sends jingle session-initate to clients with the information of the bridge channels (ip-address and ports), which jicofo had opened for the clients.
In the js web console if you execute
APP.conference.saveLogs() you will get a log file with all bosh/xmpp messages exchanged with the xmpp server and you can see the behavior described above.
A simple network diagram is available here: https://github.com/jitsi/jitsi-meet/blob/master/doc/manual-install.md#network-description