Giter Site home page Giter Site logo

bleachangel / onvif_srvd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from koynovstas/onvif_srvd

0.0 1.0 0.0 152 KB

ONVIF Device(IP camera) Service server (Linux daemon)

License: BSD 3-Clause "New" or "Revised" License

Makefile 5.43% Shell 1.20% C++ 68.29% C 25.08%

onvif_srvd's Introduction

ONVIF Device(IP camera) Service server

Description

onvif_srvd - ONVIF Device(IP camera) Service server (Linux daemon)

This server (Service) has a minimal implementation. Use this server as a template for writing your ONVIF service for an IP camera.

ONVIF official website: http://www.onvif.org

The web services data binding is generated using gSOAP

Build

To start build you have to choose your compiler (or toolchain) in the Makefile (see variable $GCC).

For build daemon in release and debug mode:

make all

For build daemon in release mode (strip):

make release

For build daemon in debug mode (#define DEBUG 1):

make debug

Show all supported commands(targets) for Makefile:

make help

Note: If you need WS-Security support, you need to call make with the WSSE_ON=1 parameter.

Show how enable support WS-Security:

make WSSE_ON=1

If before make was done without WS-Security support, it is necessary to perform the cleanup:

make clean

Usage

To start the daemon, you have to give him the parameters that are needed for work:

./onvif_srvd  --ifs eth0 --scope onvif://www.onvif.org/name/TestDev --scope onvif://www.onvif.org/Profile/S --name RTSP --width 800 --height 600 --url rtsp://%s:554/unicast --type JPEG"

The --url option can contain or static IP or dynamic (template parameter %s) that will be replaced with the IP address of the interface, see the option --ifs.

For more details see help:

./onvif_srvd --help

Or you can use S90onvif_srvd script to start the daemon (for old init.d script style):

./start_scripts/S90onvif_srvd start

If You use systemd see: onvif_srvd.service

Testing

For testing daemon you need client application.

Linux:

  1. ONVIF Device Tool (GUI)

Note:

  1. ONVIF Device Tool at me this application falls when show the first frame of RTSP. Sad :(.
  2. This application requires support for WS-Security
  3. This application requires support for WS-Discovery
  1. gsoap-onvif

Only the console client, useful for debugging.

Usage:

./ipconvif 127.0.0.1:1000

Windows:

  1. ONVIF Device Manager

License

BSD-3-Clause.

onvif_srvd's People

Contributors

koynovstas 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.