wansview

Wansview webcam controller

Wansview

Wansview webcam controller for direction and taking pictures

Only tested with Wansview NC541W

var Webcam = require('wansview')
var webcam = new Webcam('192.168.1.178', 'admin', '123456')

webcam.left()

setTimeout(function(){
  webcam.stop()
  webcam.snapshot('leftUp.png')
}, 5000)

Movement:

webcam.up()
webcam.down()
webcam.left()
webcam.right()
webcam.rightUp()
webcam.rightDown()
webcam.leftUp()
webcam.leftDown()

Panning:

webcam.panHorizontal()
webcam.panVertical()

Take picture:

webcam.snapshot('path/to/image.png')

Copyright (c) 2013 Andrew Nesbitt. See LICENSE for details.