Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update MediaMTX which offers an updated authentication system for streams and recording.
NEW:
STREAM_AUTH
option to specify multiple users and paths::
:
can be used to specify the allowed IP address for the user.@
to specify paths accessible to the user.|
as a separatorEXAMPLES:
user:pass
has access tocam-1
andother-cam
second-user:password
has access tojust-one-cam
user3:pass
has access to all paths/camerasuser:pass
has access to all paths/cameras when streaming from 192.168.0.7just-one-cam
when streaming from 192.168.0.15 or from 192.168.0.20user:pass
has access to all paths/cameraspublic-cam
Recording via MediaMTX:
RECORD_PATH
Available variables are %path (path name), %Y %m %d %H %M %S %f %s (time in strftime format)RECORD_LENGTH
Length of each clip. Must uses
for seconds ,h
for hours. Defaults to60s
RECORD_KEEP
Delete older clips. Set to 0s to disable automatic deletion. Defaults to24h