diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-03-27 09:03:39 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-03-27 09:03:39 +0100 |
commit | fd6e6aa1413602fc11bf79f7cf08120d996b8b3a (patch) | |
tree | 5e3b2e7f6ad788ef8a0f785056400442bb4d1cc7 /docker/jitsi/jitsi-videobridge/jvb_run | |
parent | 08101b82621457195c9a080237913d2c5a30208e (diff) | |
parent | a95017cf1e1761fef1ec029105d1c25f954741d4 (diff) | |
download | infrastructure-fd6e6aa1413602fc11bf79f7cf08120d996b8b3a.tar.gz infrastructure-fd6e6aa1413602fc11bf79f7cf08120d996b8b3a.zip |
Merge branch 'feature/jitsi'
Diffstat (limited to 'docker/jitsi/jitsi-videobridge/jvb_run')
-rwxr-xr-x | docker/jitsi/jitsi-videobridge/jvb_run | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docker/jitsi/jitsi-videobridge/jvb_run b/docker/jitsi/jitsi-videobridge/jvb_run new file mode 100755 index 0000000..2431081 --- /dev/null +++ b/docker/jitsi/jitsi-videobridge/jvb_run @@ -0,0 +1,23 @@ +#!/bin/bash + +cat >> /etc/hosts <<EOF +${JITSI_PROSODY_HOST} jitsi.deuxfleurs.fr conference.jitsi.deuxfleurs.fr jitsi-videobridge.jitsi.deuxfleurs.fr focus.jitsi.deuxfleurs.fr auth.jitsi.deuxfleurs.fr +127.0.0.1 `hostname` +EOF + +cd /srv/jvb + +cat > ~/.sip-communicator/sip-communicator.properties <<EOF +org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false +# The videobridge uses 443 by default with 4443 as a fallback, but since we're already +# running nginx on 443 in this example doc, we specify 4443 manually to avoid a race condition +org.jitsi.videobridge.TCP_HARVESTER_PORT=4443 +org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=${JITSI_NAT_LOCAL_IP} +org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=${JITSI_NAT_PUBLIC_IP} +EOF + +./jvb.sh \ + --host=${JITSI_PROSODY_HOST} \ + --domain=jitsi.deuxfleurs.fr \ + --port=5347 \ + --secret=${JITSI_SECRET_VIDEOBRIDGE} |