turnserverauth/turnserverauth

35 lines
799 B
Plaintext
Raw Normal View History

2020-03-24 20:06:35 +01:00
# Port nodejs will use
2020-03-20 02:25:33 +01:00
NODE_PORT=5000
2020-03-24 20:06:35 +01:00
# IP nodes will listen
2020-03-20 02:25:33 +01:00
NODE_LISTEN_IP=127.0.0.1
2020-03-24 20:06:35 +01:00
# secret as defined in turnserver
# no default
2020-03-20 02:25:33 +01:00
SECRET='changeme'
2020-03-24 20:06:35 +01:00
# TTL define how many time in seconds credentials will be available
# no default
2020-03-20 02:25:33 +01:00
TTL=8400
2020-03-24 20:06:35 +01:00
# if AUTH_REQUIRED='yes', turnserverauth doesn't deliver JSON if no auth
# if AUTH_REQUIRED='no', and no auth exist, username will be suffixed by :undefined
# default to 'no'
AUTH_REQUIRED='no'
# TURN_SERVER define the public IP of turnserver.
# It could be a FQDN
# One server only
# no default
TURN_SERVER='turn.blorand.org'
# TURN_PORTS (non tls) define ports turnserver listen to
# space separated
# no default
TURN_PORTS="3478 3479"
# TURNS_PORTS (tls) define tls ports turnserver listen to
# space separated
# no default
TURNS_PORTS="5349 5350"