onvif

wsimport for Onvif wsdl - no service definition

三世轮回 提交于 2019-12-11 02:35:16
问题 There are several questions along similar line but none answers this definitively. I'm using wsimport to generate code from a .wsdl file (Onvif's wsdl files). Running wsimport -keep https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl -extension -Xnocompile outputs At least one WSDL with at least one service definition needs to be provided. Based on this SO answer I added this service declaration, locally downloaded the onvif.xsd , and common.xsd , modified the path specified for these

OnVif integration error - unauthorized with client authentication scheme 'Digest'

送分小仙女□ 提交于 2019-12-10 12:09:19
问题 Using this code to connect to OnVif service on my IP Camera in C# .Net 4.5. Very next to that code, I am trying to get Device information as follows: string str = client.GetDeviceInformation(out model, out firmware, out serial, out hardwareId); And encouters this error: An exception of type 'System.ServiceModel.Security.MessageSecurityException' occurred in mscorlib.dll but was not handled in user code Additional information: The HTTP request is unauthorized with client authentication scheme

Onvif - Invalid SOAP message or SOAP version mismatch

▼魔方 西西 提交于 2019-12-08 14:53:54
问题 I have really been confused with Onvif Authentication. I have failed to execute onvif commands both on AXIS ans SONY cameras. Here is the code generating a request: procedure RebootDevice(dev: Device; Username, Password: string); var sdt: SystemDateTime; Created: string; Nonce: string; Nonce64: string; Password64: string; Header: Security; begin sdt := dev.GetSystemDateAndTime; Created := SystemDateTimeToStr(sdt.UTCDateTime); // yyyy-MM-ddTHH.mm.ss.000Z Nonce := '1234'; Nonce64 :=

ONVIF api capture image in C#

安稳与你 提交于 2019-12-08 04:55:07
问题 I have an ONVIF ip camera. I want to to capture an image from the camera so that I can process that image and save it to the file system. I found out that there is an onvif api which provides a method GetSnapshotUri which should provide me with an image snapshot: http://www.onvif.org/onvif/ver10/media/wsdl/media.wsdl I managed to import this api in visual studio by adding a service reference to it: How do I construct a client to call GetSnapshotUri from this service? 回答1: So, after lots of

Onvif Simulator For Testing Onvif web service client

谁都会走 提交于 2019-12-07 10:28:09
问题 Hi i am trying to develop an android web service client consuming onvif web service , but I do not have any onvif camera in my hand. What I need is an onvif camera simulator , test tool ,(may be link of an onvif camera to try basic operations like getdeviceinformation if possible ) which is free . I googled it but I could not find any . Is there any this kind of things ? 回答1: Here is a very good, free one : http://www.happytimesoft.com/products/multi-onvif-server/index.html 回答2: You can

ONVIF GetSystemDateAndTime Request

时间秒杀一切 提交于 2019-12-07 00:24:53
问题 Once I get a response back from the UDP Multicast Request to 239.255.255.250 I get back a ProbeMatch with an XAddrs http://10.10.10.10:1234/onvif/device_service How do I now do the GetSystemDateAndTime and GetDeviceInformation Is this a TCP/UDP request to 10.10.10.10 port 1234 ? Is this a HTTP request to 10.10.10.10 port 80 ? Or What Once I have the device's address http:10.10.10.10:1234/onvif/device_service Then what Thanks in advance 回答1: You need to send there just a HTTP request as SOAP

Onvif SOAP request with SOAP level authentication and HTTP authentication

試著忘記壹切 提交于 2019-12-06 12:49:57
问题 This question has been discussed in several topics here but I could not find the answer for me. What I'm trying to do is use an IP camera through the Onvif interface. I've generated the web services from the WSDL files available in the Onvif homepage, and added the custom SOAP authentication code as suggested here, and I am able to retrieve the device capabilities etc. etc. But for some services, e.g, PTZ control, also HTTP authentication is needed. My code removes the ClientCredentials

ONVIF : How to form the device web service address from the IP address of an NVT

断了今生、忘了曾经 提交于 2019-12-06 04:08:09
问题 My question is about the ONVIF specification. http://www.onvif.org/imwp/download.asp?ContentID=18006 In section 5.10, it says : A service is a collection of related ports. This specification does not mandate any service naming principles. Lets say that I have the IP address of an NVT (Network Video Transmitter like an IP camera for example), how do I form the address of the device management web service? This service is the entry point of the whole system. Thank you. 回答1: According to the

RTSP 1080p live-streaming android client gets error (100,0)

我是研究僧i 提交于 2019-12-06 00:27:47
问题 My new surveillance camera just arrived, so I'm trying to write an app to live stream the video from it. Since it came with basically no documentation, I installed the 'onvifer' android app which allows you to browse the camera's capabilities. This app works fine - gets the video and allows PTZ controls, etc. It reports the streaming url as: rtsp://192.1.0.193:554/mpeg4 I tested the stream in the VLC windows client, and it's able to stream video from that URL as well. This makes me

Onvif Simulator For Testing Onvif web service client

会有一股神秘感。 提交于 2019-12-05 14:36:13
Hi i am trying to develop an android web service client consuming onvif web service , but I do not have any onvif camera in my hand. What I need is an onvif camera simulator , test tool ,(may be link of an onvif camera to try basic operations like getdeviceinformation if possible ) which is free . I googled it but I could not find any . Is there any this kind of things ? Here is a very good, free one : http://www.happytimesoft.com/products/multi-onvif-server/index.html You can download the emulator in the following link for free: http://blog.lingodigit.com/uncategorized/new-release-onvif-pi