Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.2.0 #550

Merged
merged 84 commits into from
Apr 21, 2023
Merged

v2.2.0 #550

merged 84 commits into from
Apr 21, 2023

Conversation

roflcoopter
Copy link
Owner

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

set correct parsing element from predefined map
…matically

transcode audio to aac instead of changing to mkv
pin dlib==19.22 to fix segfault crash
redirect to homepage when onboarding completed
add raw_pipeline option to gstreamer component
…evel

ffmpeg_loglevel option for recorder
raise DomainNotReady on FFProbe error/timeout
@netlify
Copy link

netlify bot commented Apr 21, 2023

Deploy Preview for viseron ready!

Name Link
🔨 Latest commit c441207
🔍 Latest deploy log https://app.netlify.com/sites/viseron/deploys/6442e8b051d125000776e21d
😎 Deploy Preview https://deploy-preview-550--viseron.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@roflcoopter roflcoopter merged commit afc209c into master Apr 21, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant