added routes and auth for devices and users for MediaMTX server
This commit is contained in:
@@ -27,6 +27,10 @@ srtAddress: :8890
|
||||
|
||||
authMethod: http
|
||||
authHTTPAddress: http://snoop-api:8080/mediamtx/auth
|
||||
authHTTPExclude:
|
||||
- action: api
|
||||
- action: metrics
|
||||
- action: pprof
|
||||
|
||||
# Recording (optional)
|
||||
pathDefaults:
|
||||
@@ -57,6 +61,15 @@ pathDefaults:
|
||||
\"dstFs\":\"minio:livestream\",
|
||||
\"dstRemote\":\"$MTX_PATH/$f\"}"'
|
||||
|
||||
authInternalUsers:
|
||||
- user: any
|
||||
pass:
|
||||
ips: ['127.0.0.1','::1']
|
||||
permissions:
|
||||
- action: api
|
||||
- action: metrics
|
||||
- action: pprof
|
||||
|
||||
# Allow all paths by default
|
||||
paths:
|
||||
all:
|
||||
|
||||
Reference in New Issue
Block a user