🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

axis-camera

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axis-camera

Client for the Axis Network camera

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

axis-camera

Client for the Axis Network camera

npm install axis-camera

Usage

var axis = require('axis-camera')
var camera = axis({
  host: '192.168.0.10',
  username: 'my-user',
  password: 'my-password'
})

var stream = camera.video()

stream.on('data', function (data) {
  console.log('new mjpeg frame', data)
})

camera.up() // move camera up
camera.down() // move camera down
camera.left() // move camera left
camera.right() // move camera right
camera.zoom(1000) // zoom in to level 1000
camera.zoom(-1000) // zoom in to level -1000
camera.focus(2500) // focus in
camera.focus(-2500) // focus out
camera.iris(250) // set iris to 250
camera.iris(-250) // set iris to -250

License

MIT

FAQs

Package last updated on 18 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts