Skip to content

tarancss/onvifcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onvifcam

Client for ONVIF compatible IP cameras.

GoDoc Go Report Card

Contributions are welcome.

Usage

This package provides simplified client to interact with an ONVIF compatible IP camera.

Once the device is created with New, it must be initialized with Init. Then, GetSnapshot and GetStreamURI can be called and used straight away.

The Subscribe method creates an event subscription to the device for motion detection. The camera sends events via an HTTP POST / request. The package provides the function UnmarshalEventMessage to obtain the event's data. This function can be used by the HTTP server's handler function.

Tests

The tests require an ONVIF compatible IP camera to run.

About

Client to interact with ONVIF compatible IP cameras

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages