简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM