rockyjvec/onvif 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rockyjvec/onvif

Composer 安装命令:

composer require rockyjvec/onvif

包简介

Onvif IP camera library.

README 文档

README

This library will be the basis of a Network Video Recorder (NVR) application I am writing in Laravel. It provides a php interface to Onvif compatible cameras. I have only tested it with the RLC-410.

It supports subscribing to motion events.

Installation

Pull in the package through Composer.

Run: composer require rockyjvec/onvif

Usage

Device discovery:

$r = Onvif::Discovery();
print_r($r);

You need to specify the endpoint, username, and password of the camera you want to connect to. Here is the basic code to get the capabilities of the camera:

$o = new Rockyjvec\Onvif\Onvif("http://camera.hostname:8000/onvif/device_service", "username", "password");
var_dump($o->device->GetCapabilities());

The various services are available as properties of the Onvif class: $o->device, $o->media, $o->events, ...

The capabilities are parsed when constructing the Onvif class and services are null if the camera doesn't have that capability

For information about the available methods, etc. See "ONVIF WSDL and XML Schemas Specifications" section on this page: http://www.onvif.org/Documents/Specifications.aspx

统计信息

  • 总下载量: 1.3k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 26
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 24
  • Watchers: 4
  • Forks: 16
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-09-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固