[mirotalk] - #195 improve host protection, add auth user & new URL params

This commit is contained in:
Miroslav Pejic
2023-11-22 13:12:35 +01:00
parent a904cfc88b
commit ec14f5eb77
8 changed files with 292 additions and 84 deletions
+11 -2
View File
@@ -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