v2.10.1
What's Changed in v2.10.0/v2.10.1
FIXED: Could not disable WB_AUTH if WB_API is set. Thanks @bengthu! (#1304)
WebUI Authentication
Simplify default credentials for the WebUI:
- This will not affect users who are setting their own
WB_PASSWORDandWB_API. - Default
WB_PASSWORDwill now be derived from the username part of the Wyze email address instead of using a randomly generated password.- Example: For the email address
john123@doe.com, theWB_PASSWORDwill bejohn123.
- Example: For the email address
- Default
WB_APIwill be based on the wyze account for persistance.
Stream Authentication
NEW: STREAM_AUTH option to specify multiple users and paths:
- Username and password should be separated by a
: - An additional
:can be used to specify the allowed IP address for the user.- This does NOT work with docker desktop
- Specify multiple IPs using a comma
- Use the
@to specify paths accessible to the user.- Paths are optional for each user.
- Multiple paths can be specified by using a comma. If none are provided, the user will have access to all paths/streams
- Multiple users can be specified by using
|as a separator
EXAMPLE:
STREAM_AUTH=user:pass@cam-1,other-cam|second-user:password@just-one-cam|user3:pass
user:passhas access tocam-1andother-camsecond-user:passwordhas access tojust-one-camuser3:passhas access to all paths/cameras
See Wiki for more information and examples.
Recording via MediaMTX
Recoding streams has been updated to use MediaMTX with the option to delete older clips.
Use RECORD_ALL or RECORD_CAM_NAME to enable recording.
RECORD_PATHAvailable variables are%pathor{cam_name},%Y%m%d%H%M%S%f%s(time in strftime format).RECORD_LENGTHLength of each clip. Usesfor seconds ,hfor hours. Defaults to60sRECORD_KEEPDelete older clips. Usesfor seconds ,hfor hours. Set to 0s to disable automatic deletion. Defaults to0s