mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-06-24 22:11:22 +02:00
webrtc-sfu: announce correct webrtc IP
This commit is contained in:
parent
c298e051fc
commit
31818062b0
@ -177,6 +177,11 @@ services:
|
||||
- freeswitch
|
||||
environment:
|
||||
ESL_PASSWORD: ${FSESL_PASSWORD:-ClueCon}
|
||||
{{ if .Env.EXTERNAL_IPv6 }}
|
||||
MS_WEBRTC_LISTEN_IPS: '[{"ip":"::", "announcedIp":"{{ .Env.EXTERNAL_IPv6 }}"}, {"ip":"0.0.0.0", "announcedIp":"${EXTERNAL_IPv4}"}]'
|
||||
{{else}}
|
||||
MS_WEBRTC_LISTEN_IPS: '[{"ip":"0.0.0.0", "announcedIp":"${EXTERNAL_IPv4}"}]'
|
||||
{{end}}
|
||||
volumes:
|
||||
- ./data/mediasoup:/var/mediasoup
|
||||
tmpfs:
|
||||
|
@ -26,14 +26,6 @@ mediasoup:
|
||||
workerBalancing:
|
||||
strategy: least-loaded
|
||||
|
||||
webrtc:
|
||||
# announcedIP => it's the host public IPv4 in case the machine is
|
||||
# behind a 1:1 NAT
|
||||
# ip => the address on which mediasoup will bind its RTC sockets
|
||||
listenIps:
|
||||
- ip: "10.7.7.1"
|
||||
announcedIp: "10.7.7.1"
|
||||
|
||||
plainRtp:
|
||||
listenIp:
|
||||
ip: "0.0.0.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user