From 207f6424429c53a193180e5bf3c1738ea483c5d6 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Tue, 7 Jan 2025 11:55:52 -0600 Subject: [PATCH] fix: Use jvb.conf instead of sip-communicator for ice4j config. --- docs/devops-guide/quickstart.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/devops-guide/quickstart.md b/docs/devops-guide/quickstart.md index 7cd8e5415..6206332b7 100644 --- a/docs/devops-guide/quickstart.md +++ b/docs/devops-guide/quickstart.md @@ -221,16 +221,24 @@ If the installation is on a machine [behind NAT](https://jitsi.github.io/handboo Provided that all required ports are routed (forwarded) to the machine that it runs on. By default these ports are TCP/443 and UDP/10000. -The following extra lines need to be added to the file `/etc/jitsi/videobridge/sip-communicator.properties`: +Add a static mapping to the `ice4j.harvest.mapping` section in `/etc/jitsi/videobridge/jvb.conf`: ``` -org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS= -org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS= +ice4j { + harvest { + mapping { + static-mappings = [ + { + local-address = "" + public-address = "" + } + ] + } + } +} ``` -And comment the existing `org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES`. - -See [the documentation of ice4j](https://github.com/jitsi/ice4j/blob/master/doc/configuration.md) +See [the documentation of ice4j](https://github.com/jitsi/ice4j/blob/4f1329607cdcfd9ea13c0a5e7e099205775f7a0b/src/main/resources/reference.conf#L91) for details. **Systemd/Limits:**