Jazea / Onvif.Core

A lightweight ONVIF Discovery and Client library.
MIT License
71 stars 26 forks source link

without carry authentic message #2

Open Komark-Zhang opened 4 years ago

Komark-Zhang commented 4 years ago

Dear Jazea: Hello, I have some question about how to use your project to control a onvif-camera.
My situation is : step 1. enable the digest/wsse authentic of the camera; step 2. by coding "PTZClient pc = await OnvifClientFactory.CreatePTZClientAsync(cameraIP, userName, passWord); " and "await pc.ContinuousMoveAsync(ptz_profile, new PTZSpeed { PanTilt = v2d, Zoom = v1d }, null);" and receive a result about "authentic wrong". step 3. I use wireshark to grab the package , find it was without carring "username" and "password" message in the package when I called the CreatePTZClientAsync function.

  So, my question is how to use your interfaces of the project to pass the "digest/wsse" authentic .

  I hope I can receive your reply .
  Thanks.