Releases: hawkeye64/onvif-nvt
v0.2.5 Release
Updated because of Hoek (via Request) security vulnerability
v0.2.4 Release
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
Forgot to bump version for NPM.
v0.2.2 Release
Fixes a small bug where cameras were being cached before a valid connection.
v0.2.1 Release
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
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
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
This release has Discovery, PTZ, Events, Media, Core and Analytics functionality. 1st Production release!