2019年:
https://blog.csdn.net/lichengcheng5945/article/details/99624093
https://blog.csdn.net/video_dc/article/details/26080525
2014年的:
https://github.com/xsmart/onvifcpplib
这个库支持ProfileS 和ProfileG,目前还在开发当中,现在已经支持Event
下面是一个客户端的例子
int _tmain(int argc, _TCHAR* argv[])
{
int ret;
/* 192.168.1.1 is the NVT, 192.168.1.234 is the NVC */
string url = "http://192.168.1.1/onvif/device_service";
/* Below is where to receive the event */
string eventNotify =