onvif

ONVIF and PTZ Access to IP Cameras

随声附和 提交于 2019-12-14 02:17:04
问题 I'm in trouble here about the ONVIF IP Camera specification. I've built a program that is able to use the standard to contact cameras and send them standard media/device requests. The problem is that I'm now trying to access their PTZ capacities through the ONVIF and that for both of my cameras, I only get this following error : HTTP/1.1 400 Bad Request Content-Type: application/soap+xml; charset=utf-8 Content-Length: 741 Connection: keep-alive <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV

ONVIF Error in deserializing body of reply message for operation 'GetStatus' -> The string '1532531507' is not a valid AllXsd value

烂漫一生 提交于 2019-12-13 03:13:06
问题 CONTEXT : I'm making a c# windows form app that communicates to ONVIF cameras using the wsdls given on the onvif site. https://www.onvif.org/ver10/media/wsdl/media.wsdl and https://onvif.org/onvif/ver20/ptz/wsdl/ptz.wsdl I am able to get profiles on the camera, send PTZ action and more, but when I try to get the status of the ptzClient I created, I get the error: Error in deserializing body of reply message for operation 'GetStatus' I looked in the innerException of this error to find: The

what's the formula of ONVIF #PasswordDigest

喜你入骨 提交于 2019-12-12 19:38:01
问题 I'm working on ONVIF of send "GetDeviceInformation". That's required wsse:UsernameToken. After searching data for authority, there are two faormula: (1) by "ONVIF-Core-Specification-v241.pdf", "5.12.2.1 Password derivation" PE_UA = base64(HMAC_SHA-1(UA+P_UA,NEP+”ONVIF password”)) (2) by soap of WEB protocol Digest = B64ENCODE( SHA1( B64DECODE( Nonce ) + Date + Password ) ) I am confused!!which one is correct? Moreover, when i test ONVIF test tool by wireshark the XML i got as: <wsse

ONVIF : How to form the DeviceIO web service address from the IP address of an ONVIF supported IP camera

断了今生、忘了曾经 提交于 2019-12-12 10:25:17
问题 I have the IP address of an ONVIF supported IP camera,how do I form the address of the DeviceIO web service? 回答1: A robust way to do it is the following: Probe the camera, by using the WS-Discovery Extract the field XAddr from the ProbeMatch . Usually it is http://<ip_addr>/onvif/device_service , but it is not guaranteed always to be like this. Verify if your camera supports GetCapabilities or it has the new GetServices . Either from GetCapabilitiesRepsonse or GetServicesResponse verify if

ONVIF wsdl service: unable to authenticate

血红的双手。 提交于 2019-12-12 04:08:12
问题 I am developing a ONVIF driver using .NET 4 (Windows Forms, not WCF). I started importing WSDL files as a service in visual studio. So I am able to send command to a device in this way: HttpTransportBindingElement httpTransportBindingElement = new HttpTransportBindingElement(); [...] TextMessageEncodingBindingElement messegeElement = new TextMessageEncodingBindingElement(); [...] CustomBinding binding = new CustomBinding(messegeElement, httpTransportBindingElement); [...] EndpointAddress

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

Defining DeviceClient(Bind, endPointAddress)

五迷三道 提交于 2019-12-12 00:15:33
问题 I am trying to interface with ONVIF certified equipment, like being able to access simple device information. I have been trying to use the following code, provided by another member here: ONVIF Authentication in .NET 4.0 with Visual Studios 2010 However, am having trouble understanding what the function DeviceClient is and what it does. I have tried to find it on the ONVIF WSDLs and as a class, but with no avail. Am very new to C# , WSDLs and ONVIF , and as such appreciate any help. Thanks

C# PictureBox.SizeMode = Zoom does not redraw when assigning new images

亡梦爱人 提交于 2019-12-11 18:03:42
问题 I am working on a CCTV project which employs ONVIF. I use a Winform sample, which is provided by "ONVIF Device Manager" project, to obtain video frames from a camera. (You can find it here) It was working fine if I connect to one camera. But, if I connect to six cameras some picture box does not redraw when I assign new images in DrawFrame(). Two back rectangles contain a red ellipse in the attached picture are supposed to display an image. This issues only occur when picture box size mode is

Onvif Event Subscription in C#

左心房为你撑大大i 提交于 2019-12-11 09:20:25
问题 I am implementing an ipCamera/encoder management system in C#. The system will manage multiple ipCameras and/or encoders from a multiple vendors. Using Onvif instead off each ipcamera or encoders sdk will be a benefit. One of the key concepts of the management system is to listen on events, such as motion detection events, from the cameras. Onvif supports this by use of the ws-basenotification or a pull type support. I don’t like pull, so I will use ws-basenotification support in Onvif (Onvif

Generating an ONVIF authentication digest using Crypto++?

末鹿安然 提交于 2019-12-11 05:47:46
问题 The ONVIF authentication spec section 6.1.1.3 has what looks like a straight forward description of how to generate a digest. However, when using Crypto++ for Base64 and SHA1 operations, I cannot generate the same hash as the specification. I must be doing something wrong but cannot see what. std::string nonce = "LKqI6G/AikKCQrN0zqZFlg=="; std::string dt = "2010-09-16T07:50:45Z"; std::string pwd = "userpassword"; { // result should be tuOSpGlFlIXsozq4HFNeeGeFLEI= // as per spec. This approach