Following tutorial will guide you to install Jitsi VideoBridge for Video Router in your own on-premises, cloud, or dedicated servers.
This guide is using Ubuntu 16.04 LTS as the operating system, to start the installation you can follow the guide below.
sudo su
apt-get update && apt-get dist-upgrade -y
apt-get autoremove --purge -y
apt-get clean
wget -qO - https://gist.githubusercontent.com/dimaskiddo/283b95a0a116b9b0327b749a064d324e/raw/4ae2937f6e12d5998277ec8c6a06263be2997a86/jitsi-jvb-setup.sh | bash -e -
nano /etc/jitsi/videobridge/config
# Find and change to following line
...
JVB_HOST=
JVB_HOST=
JVB_PORT=5347
#JVB_SECRET=*****
JVB_OPTS="--apis=rest"
...
cat /var/lib/prosody/auth%2eyour%2edomain%2ename/accounts/jvb.dat
nano /etc/jitsi/videobridge/sip-communicator
# Find and change to following line
...
#org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER=true
#org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES=meet-jit-si-turnrelay.jitsi.net:443
org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc
org.jitsi.videobridge.xmpp.user.shard_<your_shard_name>.HOSTNAME=your-domain-name
org.jitsi.videobridge.xmpp.user.shard_<your_shard_name>.DOMAIN=auth.your-domain-name
org.jitsi.videobridge.xmpp.user.shard_<your_shard_name>.USERNAME=jvb
org.jitsi.videobridge.xmpp.user.shard_<your_shard_name>.PASSWORD=<your-jvb-muc-password>
org.jitsi.videobridge.xmpp.user.shard_<your_shard_name>.MUC_JIDS[email protected]
org.jitsi.videobridge.xmpp.user.shard_<your_shard_name>.MUC_NICKNAME=<your-jvb-nickname>
...
# Add following line
...
org.jitsi.videobridge.xmpp.user.shard_<your_shard_name>.DISABLE_CERTIFICATE_VERIFICATION=true
...
nano /etc/jitsi/videobridge/sip-communicator
# Add following line
...
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=<Local.IP.Address>
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=<Public.IP.Address>
...
systemctl restart jitsi-videobridge2
systemctl status jitsi-videobridge2
tail -n 100 -f /var/log/jitsi/jvb.log