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 : xsmart@veyesys.com
Skype : xsmart@veyesys.com
QQ : 2104915834