1.0.7 • Published 3 years ago

@joraclista/ptz-edge-js v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

ptz-edge-js

API for controlling PTZ device on windows inside electron container

  1. Install dependencies npm install
  2. To run electron app use npm start

Usage inside your electron app

const ptz = require("@joraclista/ptz-edge-js");

ptz.getCameraZoomInfo('PTZ Pro 2', function(error, result) {
  if (error) throw error;
  console.log(JSON.stringify(result));
});
      
ptz.moveLeft('PTZ Pro 2', function (error, result) {
  if (error) throw error;
  console.log(result);
});      

Available functions:

getCameraZoomInfo(name, callback),

moveLeft(name, callback),

moveRight(name, callback),

moveUp(name, callback),

moveDown(name, callback),

zoomIn(name, callback),

zoomOut(name, callback)

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago