ONVIF video stream on camera side (not client side)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 01:47:50

问题


I am trying to write an ONVIF video stream at the camera side on Linux Fedora (not the client side). I already installed the WSDL2H and ran:

wsdl2h -c o onvif.h http://www.onvif.org/onvif/ver10/device/wsdl

This command built the onvif.h

I wrote a UDP, HTTP, TCP server on my Linux.

In my UDP server program I catch the Hello message from the ONVIF Device Test Tool. How should I proceed from this stage/point? I would like to know how to write the "answer" function in C?


回答1:


At first you need soap tool like as gsoap.
Using gsoap you have to implement WS-Discovery
(Hello message is the one of the WS-Discovery)

In the gsoap FAQ, You can find useful information.
Also in the gsop documents, there is a information for WS-Discovery



来源:https://stackoverflow.com/questions/20379482/onvif-video-stream-on-camera-side-not-client-side

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!