Giter Site home page Giter Site logo

onvif-qr's Introduction

onvif-qr

These are scripts to incorporate into plug-ins to get ONVIF streams easily. It relies heavily on the ponvif library that has been modified to work with Profile T cameras.

camera-entry.php

This script contains an example form to get the authentication information for an ip cctv piece of onvif compliant equipment for downloading. In it's current form it assumes the user is authenticated over https with digest authentication. If the user is 'admin' then you can choose to create a file that a user with the name entered in the 'client username' field can later use to get streams from the device. The information is posted to qr-encode.php.

qr-encode.php

This file encodes the data as a flat file or a record in a database for later retrieval by the user. A link to qr-decode.php with the proper tokens is encoded in a QR Code for easy addition to mobile clients such as cell phones or tablets. It is assumed qr-decode is on a server with the same authentication scheme and user name as qr-encode.

qr-decode.php

This file decodes the back end record based on the passed in tokens, connects to the device with the ponvif library and displays a pick list of stream tokens. The pick list could just be re-written as cvs output and parsed by a mobile client. The form is posted to streams.php.

streams.php

Outputs the selected stream.

login-class.php

a simple login class to bypass the use of any backend authentication. Use for debuging and development purposes only.

logout.php

logs the user out.

lib/auth-class.php

simple authentication class. Use for debugging and development purposes only.

lib/class.ponvif.php

A modified version of ponvif from https://github.com/ltoscano/ponvif to use Profile T compliant cameras.

lib/class.qr.php

class to generate and decode authentication records and qr codes. zlib.php

a few custom library functions.

For questions or any support contact [email protected]. This offer implies no warranty of any kind.

onvif-qr's People

Contributors

adsicks avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.