Add TURN UDP support for P2P

This commit is contained in:
Håvar Aambø Fosstveit 2024-03-10 21:41:35 +01:00
parent bf0fc25bc7
commit 68adf415c3
2 changed files with 9 additions and 3 deletions

View file

@ -8,8 +8,9 @@ services:
- ./certbot/conf:/etc/letsencrypt
- ./certbot/www:/var/www/certbot
ports:
- "80:80"
- "443:443"
- "80:80/tcp"
- "443:443/tcp"
- "443:443/udp"
links:
- edumeet-room-server
- edumeet-client
@ -45,7 +46,6 @@ services:
--static-auth-secret=${MEDIA_SECRET}
--no-tls
--no-dtls
--no-udp
--no-multicast-peers
--no-cli
edumeet-client:

View file

@ -74,6 +74,12 @@ stream {
proxy_protocol on;
}
server {
listen 443 udp;
proxy_pass ${LISTEN_IP}:3478;
proxy_buffer_size 10m;
}
server {
listen 3479 ssl proxy_protocol;