privateone commited on
Commit
439e5c2
·
verified ·
1 Parent(s): 76e3366

Create turnserver.conf

Browse files
Files changed (1) hide show
  1. turnserver.conf +45 -0
turnserver.conf ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # turnserver.conf - minimal example
2
+
3
+ # Listening port (container will use 3478 by default)
4
+ listening-port=3478
5
+ tls-listening-port=5349
6
+
7
+ # Enable long-term credential mechanism (recommended)
8
+ lt-cred-mech
9
+
10
+ # Static user (username:password). For production prefer long-term-secret + HMAC users.
11
+ user=testuser:testpass
12
+
13
+ # Realm shown to clients
14
+ realm=examplerealm
15
+
16
+ # Fingerprint attribute for TURN messages
17
+ fingerprint
18
+
19
+ # Allow both UDP and TCP
20
+ no-udp # <-- COMMENT OUT if you want UDP allowed (we leave UDP allowed by default)
21
+ # no-tcp # <-- leave commented to allow TCP
22
+
23
+ # Relay ports (min and max). By default coturn uses 49152-65535.
24
+ # NOTE: if you don't have a port range open on the host you won't be able to relay media via UDP properly.
25
+ # For testing only, you could set them equal to 3478 (NOT recommended for production).
26
+ # Example to use the same relay port (may or may not work with your clients):
27
+ # min-port=3479
28
+ # max-port=3479
29
+
30
+ # Log to stdout (docker-friendly)
31
+ log-file=stdout
32
+ simple-log
33
+
34
+ # Don't attempt to create users from DB (we use static user above)
35
+ # userdb=/etc/coturn/turndb
36
+
37
+ # Stun-only fallback is possible if relaying is impossible:
38
+ # support-stun
39
+
40
+ # Optional secure production settings:
41
+ # use-auth-secret
42
+ # static-auth-secret=<your-long-secret-here>
43
+ # cert and pkey paths if using TLS:
44
+ # cert=/etc/coturn/certs/fullchain.pem
45
+ # pkey=/etc/coturn/certs/privkey.pem