1.lighttpd的配置文件如下:
-
fastcgi.debug = 0
-
fastcgi.server = ( "/onvif/" =>
-
((
-
"socket" => "/tmp/onvif-fastcgi.socket",
-
"bin-path" => "/usr/sbin/onvif",
-
"check-local" => "disable"
-
-
))
-
)
2.gosp的入口函数:
-
int main(void)
-
{
-
return soap_serve(soap_new());
-
}
编译的时候加入-DFASTCGI.
3.通过http://IP/onvif/device_service测试。
阅读(4406) | 评论(0) | 转发(0) |