onvif-nvt

ONVIF library for NVT (Network Video Transmitter) devices.

MIT License

Downloads
92
Stars
76
Committers
8
onvif-nvt - v0.2.5 Release

Published by hawkeye64 over 6 years ago

Updated because of Hoek (via Request) security vulnerability

onvif-nvt - v0.2.4 Release

Published by hawkeye64 over 6 years ago

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

onvif-nvt - v0.2.3 Release

Published by hawkeye64 over 6 years ago

Forgot to bump version for NPM.

onvif-nvt - v0.2.2 Release

Published by hawkeye64 over 6 years ago

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

onvif-nvt - v0.2.1 Release

Published by hawkeye64 over 6 years ago

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()
    }
  })
onvif-nvt - v0.2.0 Release

Published by hawkeye64 over 6 years ago

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').

onvif-nvt - Updates for Jest Testing

Published by hawkeye64 over 6 years ago

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.

onvif-nvt - Initial production-ready release

Published by hawkeye64 over 6 years ago

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

onvif-nvt -

Published by hawkeye64 over 6 years ago

onvif-nvt -

Published by hawkeye64 over 6 years ago

onvif-nvt -

Published by hawkeye64 over 6 years ago

onvif-nvt -

Published by hawkeye64 over 6 years ago

onvif-nvt -

Published by hawkeye64 over 6 years ago

onvif-nvt -

Published by hawkeye64 over 6 years ago

onvif-nvt -

Published by hawkeye64 over 6 years ago