Skip to content

An example demonstrating how to retrieve a snapshot URI from an ONVIF complaint IP camera and download it locally

Notifications You must be signed in to change notification settings

hu55a1n1/onvif-gsoap-by-example

Repository files navigation

ONVIF / GSOAP by example

In this example, I demonstrate how to retrieve a snapshot URI from an ONVIF complaint IP camera and download it locally. You can view the complete blog post associated with this project on my website.

The code is well commented and should be easy to read.

Prerequisites

You will need curl to build the app.

Usage

Clone the example code from github:

git clone https://github.com/Sufi-Al-Hussaini/onvif-gsoap-by-example

Now, all you have to do is:

cd onvif-by-example
make

Run the program:

./ipconvif -cIp '<camera-ip>' -cUsr '<camera-username>' -cPwd '<camera-password>'

Credits

The base code for this project was adapted from the gsoap-onvif github repo originally written by tonyhu.

About

An example demonstrating how to retrieve a snapshot URI from an ONVIF complaint IP camera and download it locally

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages