From 9ea066d6dfd3ec7f614f5f7f1296f0a236a0d18b Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 29 Jan 2021 19:22:16 +0100 Subject: Only old configuration can be used for ice4 harvester --- app/jitsi/build/jitsi-videobridge/jvb_run | 2 ++ app/jitsi/integration/docker-compose.yml | 3 +++ 2 files changed, 5 insertions(+) (limited to 'app') 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" -- cgit v1.2.3