Can you help? Anybody have expirience integrate jitsi-meet with ejabberd? (instead prosody)
That's not too complicated. Easiest way is to do first a quick-install on Debian (https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md) and then have a look at the resulting prosody config.
Or have a look in the Debian install and post-install scripts here: https://github.com/jitsi/jitsi-meet/tree/master/debian
I did it some time ago, so I might have forgotten some of the steps:
With the tool "equivs-control" create a fake package for prosody and install it. Then you can install jitsi-meet and all it's dependencies with "apt-get install jitsi-meet" without installing prosody. Or you just install also prosody but make sure it won't be started.
The post-install scripts will throw some errors while trying to create the jabber user for jicofo (focus), because there is no prosodyctl.
Videobridge integration you can find here: https://jitsi.org/Projects/JitsiVideobridgeWithEjabberd
IMO the shaper stuff is not necessary anymore.
In ejabberd-config make sure you have:
- added http_bind to the ejabberd_http module
- added an ejabberd_service for jitsi-videobridge
- added an ejabberd_service for focus
Also check that the port-numbers, XMPP server name and XMPP domain in the /etc/jitsi config files match your ejabberd server.
Then create the focus user:
ejabberdctl register focus example.com JICOFO_AUTH_PASSWORD (JICOFO_AUTH_PASSWORD from /etc/jitsi/jicofo/config)
Then in ejabberd config give the focus user muc_admin role:
- "focus": "example.com"
When you use tls for http_bind on Port 5280 you also have to modify the nginx-config for BOSH (https instead of http):
That should be all.
Reading https://github.com/jitsi/jitsi-meet/blob/master/doc/manual-install.md you can figure out what you have to add to your ejabberd and what else to do. Most of the stuff will be done by the post-install scripts from jitsi-meet package.