Skip to content

Releases: hawkeye64/onvif-nvt

v0.2.5 Release

02 May 22:50
Compare
Choose a tag to compare

Updated because of Hoek (via Request) security vulnerability

v0.2.4 Release

07 Mar 19:51
Compare
Choose a tag to compare

Fixes an issue in snapshot module if a network error occurred while getting a snapshot, the application could cause an unintended exception.

v0.2.3 Release

06 Mar 00:15
Compare
Choose a tag to compare

Forgot to bump version for NPM.

v0.2.2 Release

06 Mar 00:13
Compare
Choose a tag to compare

Fixes a small bug where cameras were being cached before a valid connection.

v0.2.1 Release

27 Feb 23:22
Compare
Choose a tag to compare

Hikvision, TrendNET and Pelco are working with Events!

Use pullStart() and pullStop() to start and end the event loop. Pass no arguments to use defaults and get all events and use the event emitter to receive the events:

const OnvifManager = require('onvif-nvt')
OnvifManager.connect('10.10.1.60', 80, 'username', 'password')
  .then(results => {
    let camera = results
    // if the camera supports events, the module will already be loaded.
    if (camera.events) {
      camera.events.on('messages', messages => {
        console.log('Messages Received:', messages)
      })
 
      camera.events.on('messages:error', error => {
        console.error('Messages Error:', error)
      })
 
      // start the event loop that polls for events using defaults
      camera.events.startPull()
 
      // call stop() to end the event loop
      // camera.events.stopPull()
    }
  })

v0.2.0 Release

27 Feb 15:28
Compare
Choose a tag to compare

This is a major fix to an assumption that the code would be used for monitoring a single camera. All pertinent areas of code were adjusted so that multiple cameras can be monitored at the same time. The only singleton now is the let OnvifManager = require('onvif-nvt').

Updates for Jest Testing

24 Feb 19:47
Compare
Choose a tag to compare

The saving of xml files was being placed into a folder by camera name. However, some ONVIF services have overlapping methods which was causing some of the xml to be overwritten. The xml is not being saved by camera name and then service (subfolder) to avoid this situation. Jest tests were updated.

Initial production-ready release

23 Feb 01:42
Compare
Choose a tag to compare

This release has Discovery, PTZ, Events, Media, Core and Analytics functionality. 1st Production release!

v0.0.8

21 Feb 18:54
Compare
Choose a tag to compare
v0.0.8 Pre-release
Pre-release
adding Jest tests for analytics

v0.0.7

18 Feb 15:37
Compare
Choose a tag to compare
v0.0.7 Pre-release
Pre-release
Merge branch 'develop'