1. Install VS2013
2. Build onvif\onvifagent\win32\onvifagent.sln
3. Build onvif\prj_win32\onvifagentlib.sln
Install cmake
Change VE_PATH in the rules.mk
$source ./rules.mk
$make
Start the demo client
$./output/Ubuntu-16.04-64bit/bin/onvifagentcli
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
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);
ONVIF profile S
- 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