github roflcoopter/viseron v2.2.0b1
v2.2.0b1 - Authentication

latest releases: v3.0.0b11, v3.0.0b10, v3.0.0b9...
pre-release19 months ago

This release contains a lot of tweaks and fixes as well as some cool new features!

Authentication

The biggest change in this release is the addition of authentication for the frontend/API.
It is disabled by default but can be enabled by adding auth to your webserver config.

webserver:
  auth:

When you first enable authentication you will be greeted with an onboarding page which allows you to create your first user.
At the moment you can only create this first user. Complete user handling is planned for the next release.
image

Enabling authentication protects all resources, including streams and videos, so if you are consuming these directly through Viserons API from another tool you will have some issues. I will make sure to properly implement and document a good way of accessing the API and resources from third-party tools even with auth enabled in a future release.

Things that needs to be added before i consider this feature done:

  • Long lived access tokens for third party consumers of the API
  • Create more users
  • Delete/update users
  • IP bans for failed login attempts

Failed cameras

Cameras that are unavailable during startup will now properly retry setup with automatic back-off.
Any camera that cant be successfully setup will be displayed in the frontend, displaying the error:
Failed_cameras

The red border represents failed cameras, and the orange border represents cameras that are actively retrying setup.
A bonus feature here is that the recordings for the cameras are still available for viewing in the frontend, neat right?!

General fixes

  • FFmpeg upgraded to 5.1.2 with improved hardware acceleration for RPi4
  • H265 fix for gstreamer
  • Audio is transcoded to aac by default if the original codec (pcm_alaw, pcm_mulaw) is not supported in .mp4 files.
    Previously recordings would be stored in .mkv files instead but that proved to be confusing.
  • Changed how dlib and sklearn is installed which should solve a lot of issues with this component on the jetson-nano and aarch64 image

What's Changed

Full Changelog: v2.1.1...v2.2.0b1

Don't miss a new viseron release

NewReleases is sending notifications on new releases.