feat: support UDP in TURN (#61)

1. Add UDP option to TURN
2. GetLocalIPAddress default to IPv4
This commit is contained in:
hn8
2021-07-19 09:21:59 -07:00
committed by GitHub
parent c493022f0f
commit 06c44ca8f6
6 changed files with 83 additions and 42 deletions
+4 -2
View File
@@ -95,10 +95,12 @@ keys:
# # - using cert_file and key_file below
# # defaults to false
# enabled: false
# # needs to match tls cert domain
# domain: turn.myhost.com
# # defaults to 3478 - recommended to 443 if not running HTTP3/QUIC server
# udp_port: 3478
# # defaults to 3478 - if not using a load balancer, this must be set to 443
# tls_port: 3478
# # needs to match tls cert domain
# domain: turn.myhost.com
# # optional
# # cert_file: /path/to/cert.pem
# # key_file: /path/to/key.pem