--- examples/etc/turnserver.conf.orig 2021-01-10 19:59:55 UTC +++ examples/etc/turnserver.conf @@ -334,17 +334,17 @@ # as the user database. # This database can be used for long-term credential mechanism # and it can store the secret value for secret-based timed authentication in TURN REST API. -# Use the string format below (space separated parameters, all optional): +# Use the string format below (space separated parameters, all optional, "socket" has higher prio then "ip"): # -#redis-userdb="ip= dbname= password= port= connect_timeout=" +#redis-userdb="ip= socket= dbname= password= port= connect_timeout=" # Redis status and statistics database connection string, if used (default - empty, no Redis stats DB used). # This database keeps allocations status information, and it can be also used for publishing # and delivering traffic and allocation event notifications. # The connection string has the same parameters as redis-userdb connection string. -# Use the string format below (space separated parameters, all optional): +# Use the string format below (space separated parameters, all optional, "socket" has higher prio than "ip"): # -#redis-statsdb="ip= dbname= password= port= connect_timeout=" +#redis-statsdb="ip= socket= dbname= password= port= connect_timeout=" # The default realm to be used for the users when no explicit # origin/realm relationship is found in the database, or if the TURN