view files/patch-examples_etc_turnserver.conf @ 48:3dff81855b9a

===== signature for changeset 2ecbedf62df8
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 18 Mar 2025 12:26:20 +0100
parents e5d83559f2b5
children
line wrap: on
line source

--- examples/etc/turnserver.conf.orig	2024-12-11 18:13:38 UTC
+++ examples/etc/turnserver.conf
@@ -359,17 +359,19 @@
 # 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=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
+#redis-userdb="ip=<ip-address> socket=<unix-domain-socket-path> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
 
 # 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=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
+#redis-statsdb="ip=<ip-address> socket=<unix-domain-socket-path> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
+
+# For Redis: use of "unix=" is an alias for "socket=".
 
 # The default realm to be used for the users when no explicit
 # origin/realm relationship is found in the database, or if the TURN