0
0

WIP webrtc-sfu integration

This commit is contained in:
2024-10-02 16:42:35 +02:00
parent f5ed374100
commit 8f9587cc96

View File

@ -225,7 +225,6 @@ services:
# todo: webrtc-sfu (webrtc controller for negotiation and media stream)
webrtc-sfu:
image: alangecker/bbb-docker-webrtc-sfu:v2.12.0
restart: unless-stopped
depends_on:
- redis
- freeswitch
@ -238,15 +237,15 @@ services:
MCS_HOST: 0.0.0.0
MCS_ADDRESS: 127.0.0.1
ESL_IP: 10.7.7.1
ESL_PASSWORD: /run/secret/fsesl_password
# TODO: add mediasoup IPv6
# TODO: can listen to 0.0.0.0 for nat support? https://github.com/versatica/mediasoup/issues/487
MS_WEBRTC_LISTEN_IPS: '[{"ip":"2010", "announcedIp":"2010"}, {"ip":"${EXTERNAL_IPv4}", "announcedIp":"${EXTERNAL_IPv4}"}]'
# ESL_PASSWORD could be set via entrypoint but Dockerfile CMD is starting the process. What to do?
MS_WEBRTC_LISTEN_IPS: '[{"ip":"${EXTERNAL_IPv4}", "announcedIp":"${EXTERNAL_IPv4}"}]'
MS_RTP_LISTEN_IP: '{"ip":"0.0.0.0", "announcedIp":"${EXTERNAL_IPv4}"}'
volumes:
- vol-mediasoup:/var/mediasoup
tmpfs:
- /var/log/bbb-webrtc-sfu
secrets:
- fsesl_password
network_mode: host
# fsesl-akka (bbb freeswitch integration)
@ -410,6 +409,9 @@ configs:
entrypoint_fseslakka:
name: ${STACK_NAME}_entrypoint_fseslakka_${ENTRYPOINT_FSESLAKKA_VERSION}
file: ./entrypoint.fsesl-akka.sh
entrypoint_webrtcsfu:
name: ${STACK_NAME}_entrypoint_webrtcsfu_${ENTRYPOINT_WEBRTCSFU_VERSION}
file: ./entrypoint.webrtc-sfu.sh
secrets:
postgres_password: