File tree 5 files changed +9
-2
lines changed 5 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -428,6 +428,7 @@ Variable | Description | Default value
428
428
` JVB_PORT ` | UDP port for media used by Jitsi Videobridge | 10000
429
429
` JVB_TCP_HARVESTER_DISABLED ` | Disable the additional harvester which allows video over TCP (rather than just UDP) | true
430
430
` JVB_TCP_PORT ` | TCP port for media used by Jitsi Videobridge when the TCP Harvester is enabled | 4443
431
+ ` JVB_TCP_MAPPED_PORT ` | TCP port advertised by Jitsi Videobridge | 4443
431
432
` JVB_BREWERY_MUC ` | MUC name for the JVB pool | jvbbrewery
432
433
` JVB_ENABLE_APIS ` | Comma separated list of JVB APIs to enable | none
433
434
` JIGASI_XMPP_USER ` | XMPP user for Jigasi MUC client connections | jigasi
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ services:
141
141
restart : ${RESTART_POLICY}
142
142
ports :
143
143
- ' ${JVB_PORT}:${JVB_PORT}/udp'
144
- - ' ${JVB_TCP_PORT }:${JVB_TCP_PORT}'
144
+ - ' ${JVB_TCP_MAPPED_PORT }:${JVB_TCP_PORT}'
145
145
volumes :
146
146
- ${CONFIG}/jvb:/config
147
147
environment :
Original file line number Diff line number Diff line change @@ -215,6 +215,7 @@ JVB_PORT=10000
215
215
# TCP Fallback for Jitsi Videobridge for when UDP isn't available
216
216
JVB_TCP_HARVESTER_DISABLED=true
217
217
JVB_TCP_PORT=4443
218
+ # JVB_TCP_MAPPED_PORT=4443
218
219
219
220
# A comma separated list of APIs to enable when the JVB is started [default: none]
220
221
# See https://github.com/jitsi/jitsi-videobridge/blob/master/doc/rest.md for more information
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ services:
144
144
image : jitsi/jvb
145
145
ports :
146
146
- ' ${JVB_PORT}:${JVB_PORT}/udp'
147
- - ' ${JVB_TCP_PORT }:${JVB_TCP_PORT}'
147
+ - ' ${JVB_TCP_MAPPED_PORT }:${JVB_TCP_PORT}'
148
148
volumes :
149
149
- ${CONFIG}/jvb:/config
150
150
environment :
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ org.jitsi.videobridge.TCP_HARVESTER_PORT={{ .Env.JVB_TCP_PORT }}
4
4
{{ if .Env.JVB_STUN_SERVERS }}
5
5
org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES ={{ .Env.JVB_STUN_SERVERS }}
6
6
{{ end }}
7
+ {{ $JVB_TCP_PORT := .Env.JVB_TCP_PORT | default " 4443" }}
8
+ {{ $JVB_TCP_MAPPED_PORT := .Env.JVB_TCP_MAPPED_PORT | default $JVB_TCP_PORT }}
9
+ {{ if not (eq $JVB_TCP_PORT $JVB_TCP_MAPPED_PORT) }}
10
+ org.jitsi.videobridge.TCP_HARVESTER_MAPPED_PORT ={{ $JVB_TCP_MAPPED_PORT }}
11
+ {{ end }}
7
12
8
13
org.jitsi.videobridge.xmpp.user.shard.HOSTNAME ={{ .Env.XMPP_SERVER }}
9
14
org.jitsi.videobridge.xmpp.user.shard.DOMAIN ={{ .Env.XMPP_AUTH_DOMAIN }}
You can’t perform that action at this time.
0 commit comments