UniFi Video 3.8.0 Release

by Ubiquiti Employee on ‎09-18-2017 06:31 PM

The apt repositories are back online, please see this link for details.

 

System Requirements

  • NVR appliance or a 64-bit OS from the Files section below
  • Intel Atom D2500 CPU
  • 100GB HDD
  • 4GB RAM
  • Google Chrome
  • 500GB HDD or larger

 

Important Notes

  • ** In order to improve the security of camera communication, cameras will now connect to the controller using port 7442 instead of the web UI port (7443) ** 
    • Cameras running pre-3.8 firmware will be allowed to connect via port 7443 to be discovered and initiate software upgrade, but will only be allowed to fully connect over port 7442 (upgraded cameras should connect via 7442 after upgrade)
    • Any network configurations that define special rules for forwarding port 7443 for camera connections will need to be adjusted, adding port 7442 as allowed/forwarded to the server with UniFi Video installed.
    • The system property app.cam.https.port can be used to change the camera connection port. But app.cam.https.port and app.http.port (used to connect to the controller web UI) cannot be configured to use the same port number.  The configured port cannot be a port already in use by UniFi Video or any other service running on the computer.
  • All Linux commands below are for the NVR appliance and Debian 7. Different Linux distributions will have slightly different commands.
  • Updating from a UniFi Video installation prior to 3.3.0 might take an hour or longer, depending on the amount of recordings in the database. To get up and running immediately, perform a clean install instead of upgrading.
  • Your Ubiquiti Account (SSO) is the same account you use to login to the community forum. If you want to use a different account for UniFi Video, first log out of the community before setting up UniFi Video for cloud access.
  • When adding a new camera, your camera password will be reset and configurable under NVR Settings.  Username remains the same.
  • Systems that are not the hardware NVR (airVision-C or UVC-NVR) must have some form of an NTP daemon installed installed to prevent timestamp and time synchronization errors.
  • Email and push alert enable/disable settings are now per-user instead of being system-wide. Alert settings can be found under the "Alerts" tab of each configured user.
  • Although downgrading is not technically supported, if you do choose to downgrade from a version below 3.8.0, you'll need to factory default your cameras while on firmware less than 3.8.0 in order for the cameras to be managed by controllers less than 3.8.0.  i.e. Downgrade the controller, make sure the firmware on the camera has downgraded to something lower than 3.8.0 (3.7.0 for example), factory default the camera, manage the camera.

 

Installation

  • Windows: Run Installer as Administrator
  • Hardware NVR/Linux Install via apt:
    apt-get update; apt-get upgrade; apt-get clean
  • Hardware NVR/Debian Install manual installation (other Linux files are linked at the bottom of this post, simply change the URL and filename to the appropriate operating system):
    wget https://dl.ubnt.com/firmwares/ufv/v3.8.0/unifi-video.Debian7_amd64.v3.8.0.deb
    sudo dpkg -i unifi-video.Debian7_amd64.v3.8.0.deb

 

Cloud Setup

New Installations

  • Visit https://video.ubnt.com using Chrome from a computer on the same network as your UniFi Video installation.

Upgrades

  • Connect to your NVR locally (over HTTPS using the server's IP address on port 7443), then click 'Connect To My Ubiquiti Account' under NVR Settings.

 

Change Log

Camera

  • Incorporated camera firmware 3.8.3
  • Enable adopting camera to UniFi Video mode, even after already booted to standalone

  • Low resolution channel limited to a max of 15 FPS
  • Eliminated "flicker/blink" when changing OSD area parameters
  • Fixed UniFi Video adoption and firmware update issues
  • Support file will now include network stats log
  • Added ability to adopt camera from camera web UI using management/adoption token
  • Changed default camera management port to 7442 (see red line above for further information)
  • Added ability to override controller host port number
  • Fixed camera web UI WiFi SSID list layout issue
  • Controller can change username and password without providing old username and password, due to the new token based mechanism
  • Controller can trigger credentials reset to defaults in unmanage request
  • Fixed memory leak in certificate management

EMS

  • Bumped EMS to v1.0.25

    Bug Fixes:
    • X.509 certificates are now created with more unique serial numbers
    • Shortened the EMS banner in the STUN/TURN traffic
    • The file permissions for EMS-generated files are now more restrictive (no "other" permissions and limited group permissions)
    • A Windows access violation is fixed

Backend

Features:

    • Added support for new UVC-G3-Micro camera - including support for Bluetooth-based provisioning and management via mobile apps.
    • The internal camera management is revamped - with ssh-based management operations replaced with REST-based management interfaces.
    • Camera provisioning time is greatly reduced as password changes now keep the connection open with the controller
    • Improved support for unadoption of off-line cameras. An unadopted off-line camera will be reset and put into an unmanaged stated if/when it reconnects with the controller.
    • Interfaces can be excluded for camera management operations using the ufv.cam.ignoreinterfaces system property.
    • The controller is now more efficient in managing and timing out camera operations.
    • Camera LEDs can now be set to always-on. When LED is disabled, LED is only active if the camera is rebooting, updating firmware, or when the WiFi connection or controller connection is lost.
    • Cameras can now be adopted via a Camera Adoption Token provided by the controller. This allows direct camera adoption and controller management using the camera web ui – useful for cases where one or more cameras is indirectly connected to the controller (e.g. over a subnet or NAT)
    • Multiple name fields now accept UTF character sets
    • Improved camera connection loss detection once camera is managed
    • Added Windows Error Reporting File dumps. They are located in the logs folder after a crash of avService.exe

Security improvements:

  • Cameras management and connections are now mutually authenticated
  • File system permissions and symbolic links are now more restrictive
  • Install scripts no longer follow symlinks
  • Temporary files are no longer created on-disk for camera snapshots
  • Logging of exception messages is now sanitized to prevent newline injections in log files
  • UniFi Video library files are now set to read-only and accessible by owner only
  • Temporary file and folder permissions are set to owner only read/write
  • The SCP protocol is no longer used for camera snapshot downloads
  • Snapshot requests are now limited to 3840 x 2160 resolution or below to prevent DoS

Bug Fixes:

    • Improved support for controller IP/network changes. The controller will now attempt to remanage any disconnected cameras every minute - providing updated network address(es). This should help recapture any cameras which have lost controller connectivity
    • Fixed RTMP regression found in 3.7.1
    • Fixed motion recordings being smaller than expected after a camera disconnection
    • Corrected recording length issues when controller stream clock is adjusted or when A/V content timestamp has drifted
    • Set default free-space-to-keep at 40GB, instead of 10GB for new NVR installations. It can be lowered back to 10GB on custom servers but not on 2TB NVRs
    • Issues with configuring SMTP email alerts are now fixed
    • Added stream clock sync each time a motion recording is started. This should improve the duration accuracy of recordings
    • A file handle leak when dealing with repeated cloud connection failures is fixed

Web Application

Features:

    • Added support for new UVC-G3-Micro camera
    • Bulk camera setting changes are greatly improved
    • Alert push/email settings can now be set per-user instead of being admin-only
    • The bitrate slider now snaps to increments of 100kb/s
    • Authentication errors when adopting cameras are now displayed immediately
    • Camera state changes now display a "reason" providing more detail about the current state
    • Added ability to delete User Groups
    • Only Super Admin users can delete logs
    • Improved recording path error feedback when path is invalid, does not exist or recording path/folder is not accessible
    • Added support for presenting and selecting user-specific alert schedules
    • Added a Google Maps API key field and include the key in map requests
    • The master camera password is now randomly generated during initial setup, can still be changed within Settings
    • The discovered camera page during the setup wizard is now removed. Instead, the UI transitions to camera list after initial controller setup is complete
    • Adoption Tokens can be generated using the "Camera Adoption Token" field in the Controller Settings
    • The "Controller Address" field for a camera can be examined and set under the "Advanced" section of the camera configuration dialog
    • Current Alert Type is now showing correctly when navigating directly to USER → ALERT tab
    • All network interface addresses and names are displayed on the Settings page

Bug Fixes:

    • Alert settings are now shown properly for admin and non-admin users

    • Email Server Settings are now displayed when appropriate

    • Cloud adoption controls are now hidden when accessing via cloud. Eliminates possibility of accidentally disconnecting from the cloud

    • The Live Views video quality settings now persist properly

    • UniFi Video upgrade notices are only displayed to admin users

    • Now preventing the Upgrade Firmware alert toast alert from displaying on initial setup
    • Camera view map now allows camera to be moved without dragging the map

    • WiFi strength is only shown on connected cameras

    • Removing a camera from an advanced Live View no longer freezes frame
    • Toast alert notifications are now displayed consistently when accessed via video.ubnt.com
    • Can now delete a usergroup while creating a new user
    • Add "HTTPS" to google analytics URI to prevent Ad Block issues
    • The recordings modal dialog is now scrollable on low-res screens - 1024x768 is the lowest resolution possible

 

KNOWN ISSUES

  • After restoring from a backup, email server settings need to be validated via Settings to ensure they're applied

Port Forwarding/Custom Ports

If not using Cloud login, please check this article for required open ports and customizing ports

 

 


 

Files

*Cloud functionality is peer-to-peer. All video is encrypted and not stored on our servers.

**These are the only officially supported Windows operating systems