Skip to content

ONVIF C++ lib, including server and client, support ProfileS and ProfileG, support Event

Notifications You must be signed in to change notification settings

akmalhisyam36/rapidonvif

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rapidonvif include onvif server and client

Windows

1. Install VS2013
2. Build onvif\onvifagent\win32\onvifagent.sln
3. Build onvif\prj_win32\onvifagentlib.sln

Linux

Install cmake 
Change VE_PATH in the rules.mk
$source ./rules.mk
$make
Start the demo client
$./output/Ubuntu-16.04-64bit/bin/onvifagentcli  

macOS

Install xcode
Install cmake 
Change VE_PATH in the rules.mk
$source ./rules-macos.mk
$make 
if there has below error, make liblive555.so same dir with onvifagentcli, cp ../lib/liblive555.so . 
	users-Mac:macos-10.12-64bit user$ ./bin/onvifagentcli 
	dyld: Library not loaded: liblive555.so
	Referenced from: /Users/user/rapidonvif/output/macos-10.12-64bit/./bin/onvifagentcli
	Reason: image not found
	Abort trap: 6

Get RTSP URL & Control PTZ within 10 line code

std::string url = "http://192.168.22.100/onvif/device_service";
std::string user = "admin";
std::string pass =  "admin";

OnvifAgentC agent(user, pass, url);
OnvifAgentCProfileMap pProfiles;

agent.Login();
pProfiles.clear();
agent.GetProfiles(pProfiles);

agent.PTZAction(pProfiles.begin()->first,AGENT_PTZ_ZOOM_IN, 0.5);

Features list

ONVIF profile S

License

  • Licensing: dual licensed as open source Affero GPL and commercial-use license (available for purchase).

For more guide http://veyesys.com/

Mail : [email protected]

Skype : [email protected]

QQ : 2104915834

About

ONVIF C++ lib, including server and client, support ProfileS and ProfileG, support Event

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 72.8%
  • C 16.9%
  • Objective-C 10.3%
  • Makefile 0.0%
  • Batchfile 0.0%
  • Protocol Buffer 0.0%