arthurpatriot / ptz-cameras-control
Easy control your PTZ Cameras from PHP
Package info
github.com/ArthurPatriot/ptz-cameras-control
pkg:composer/arthurpatriot/ptz-cameras-control
v1.2.3
2020-06-03 16:20 UTC
Requires
- php: ^7.0
- guzzlehttp/guzzle: ^6.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Easy control your PTZ Cameras from PHP.
Installation
Use the package manager composer to install this package.
composer require arthurpatriot/ptz-cameras-control
Basic Usage
use PtzCamera\CameraMovement; $camera = new CameraMovement('login', 'password', 'ip', 'port'); $camera->left(); $camera->right(); $camera->up(); $camera->down(); $camera->home();
Supported Providers
- Hikvision
- Dahua
- ISAPI PTZ Cameras
If your camera not in this list, contact with me, and we add support.
Custom Provider
For using custom camera provider:
$camera = new CameraMovement('login', 'password', 'ip', 'port', null, 'example-path');
Where example-path, ISAPI/PTZCtrl or ptz path for your device.
Documentation
Visit Wiki Pages for more information or contact with me on Email / Telegram.
Features
- Momentary Movement (Default)
- Relative Movement
- To Home Movement
- To Preset Movement
Other in Development :)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.