diff options
author | Quentin Dufour <quentin@dufour.io> | 2021-01-29 19:22:16 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@dufour.io> | 2021-01-29 19:22:16 +0100 |
commit | 9ea066d6dfd3ec7f614f5f7f1296f0a236a0d18b (patch) | |
tree | 91db166262de32966b6db2c9808fb83b8076a87f | |
parent | 59ca97e2a97c77719aa139748caff4a40e6d2704 (diff) | |
download | infrastructure-9ea066d6dfd3ec7f614f5f7f1296f0a236a0d18b.tar.gz infrastructure-9ea066d6dfd3ec7f614f5f7f1296f0a236a0d18b.zip |
Only old configuration can be used for ice4 harvester
-rwxr-xr-x | app/jitsi/build/jitsi-videobridge/jvb_run | 2 | ||||
-rw-r--r-- | app/jitsi/integration/docker-compose.yml | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/app/jitsi/build/jitsi-videobridge/jvb_run b/app/jitsi/build/jitsi-videobridge/jvb_run index 4c90bea..39668a8 100755 --- a/app/jitsi/build/jitsi-videobridge/jvb_run +++ b/app/jitsi/build/jitsi-videobridge/jvb_run @@ -9,6 +9,8 @@ exec java \ -Djdk.tls.ephemeralDHKeySize=2048 \ -Djava.util.logging.config.file=/usr/share/jvb/lib/logging.properties \ -Dconfig.file=/etc/jitsi/videobridge.conf \ + -Dorg.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=${JITSI_NAT_LOCAL_IP} \ + -Dorg.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=${JITSI_NAT_PUBLIC_IP} \ -cp '/usr/share/jvb/jitsi-videobridge.jar:/usr/share/jvb/lib/*' \ org.jitsi.videobridge.MainKt \ --apis=rest,xmpp diff --git a/app/jitsi/integration/docker-compose.yml b/app/jitsi/integration/docker-compose.yml index 3107347..e2e7a94 100644 --- a/app/jitsi/integration/docker-compose.yml +++ b/app/jitsi/integration/docker-compose.yml @@ -25,6 +25,9 @@ services: - "./prosody/certs/jitsi.crt:/usr/local/share/ca-certificates/jitsi.crt:ro" - "./prosody/certs/auth.jitsi.crt:/usr/local/share/ca-certificates/auth.jitsi.crt:ro" - "./jvb/videobridge.conf:/etc/jitsi/videobridge.conf:ro" + environment: + - JITSI_NAT_LOCAL_IP=10.64.82.33 + - JITSI_NAT_PUBLIC_IP=212.47.253.12 ports: - "8080:8080/tcp" - "10000:10000/udp" |