[mirotalk] - #195 improve host protection, add auth user & new URL params
This commit is contained in:
+11
-2
@@ -5,9 +5,18 @@ HTTPS=false # true or false
|
||||
# Domain
|
||||
|
||||
HOST=localhost
|
||||
|
||||
# Host protection
|
||||
# HOST_PROTECTED: When set to true, it requires a valid username and password from the HOST_USERS list to initialize or join a room.
|
||||
# HOST_USER_AUTH: When set to true, it also requires a valid username and password, but these need to be provided in the URL parameters.
|
||||
# HOST_USERS: This is the list of valid host users along with their credentials.
|
||||
|
||||
HOST_PROTECTED=false # true or false
|
||||
HOST_USERNAME=username
|
||||
HOST_PASSWORD=password
|
||||
|
||||
HOST_USER_AUTH=false # true or false
|
||||
|
||||
HOST_USERS='[{"username": "username", "password": "password"},{"username": "username2", "password": "password2"}]'
|
||||
|
||||
|
||||
# Signaling Server listen port
|
||||
|
||||
|
||||
Reference in New Issue
Block a user