'PTZ control for IP camera using onvif libraries
Does anyone know how to use the ONVIF PTZ control in camera capture program in C#. I have added the onvif_PTZ_services as a service reference to my project, but I do not know how to use it to implement PTZ control for an IP camera. I need a simple example.
Solution 1:[1]
Use the Auto generated PTZClient class for this.
The PTZClient functions AbsoluteMove, ContinuousMove and Stop are the methods you are seeking. Se the ONVIF documentation for more description of each method. Note that Onvif using Soap12 and most devices using Digest security over Http. This is not supported by default by WCF, so you need a custom binding for this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Frode |
