- Install the full jitsi-meet suite
- Add a second component to the prosody configuration (
/etc/prosody/conf.d/example.com.cfg.lua
):
Component "jitsi-videobridge2.example.com"
component_secret = "secret"
- Patch jitsi-meet: add
deploymentInfo
to the whitelist inreact/features/base/config/functions.js
. It might be easiest to modify the minified file in place. - Enable Octo for jitsi-videobridge. Add these to
/etc/jitsi/videobridge/sip-communicator.properties
org.jitsi.videobridge.octo.BIND_ADDRESS=1.2.3.4 #address to bind locally
org.jitsi.videobridge.octo.BIND_ADDRESS=1.2.3.4 #address that server2 can connect to
org.jitsi.videobridge.octo.BIND_PORT=21000
org.jitsi.videobridge.REGION=region1
-
Configure the jicofo selection strategy.
org.jitsi.jicofo.BridgeSelector.BRIDGE_SELECTION_STRATEGY=RegionBasedBridgeSelectionStrategy
-
Enable octo in
config.js
(/etc/jitsi/meet/):
testing: {
octo: {
probability: 1
}
}
- Install the full jitsi-meet suite. You only need jitsi-videobridge here, but it's easier to install everything.
- Change the bridge configuration to connect to Server1. Edit
/etc/jitsi/videobridge/config
and/etc/jitsi/videobridge/sip-communicator.properties
- Enable Octo (as for server1)
org.jitsi.videobridge.octo.BIND_ADDRESS=2.3.4.5 #address to bind locally
org.jitsi.videobridge.octo.BIND_ADDRESS=2.3.4.5 #address that server1 can connect to
org.jitsi.videobridge.octo.PORT=21000
org.jitsi.videobridge.REGION=region2
To tell the client which region you are in, add this to your URL:
#config.deploymentInfo.userRegion=region1
.
Add one client from region1 and one client from region2. They should connect to different bridges, which can be seem in the connection information on the local thumbnail.
The URL override should be something like
#config.deploymentInfo.userRegion="region1"
(double quotes needed)