linkingvision / rapidvms

rapidvms(open source VMS/NVR Video Management System/ Network Video Recorder) ==> project closed, use https://www.linkingvision.com/usc instead
https://www.linkingvision.com/
Other
432 stars 242 forks source link

Adding cameras with ONVIF is not working #81

Closed chomooho closed 6 years ago

chomooho commented 6 years ago

In rapidvms-r2.0.7, adding cameras with ONVIF (port 2000) is working.

image

But in rapidvms-r4.2, adding cameras with ONVIF (port 2000) is not working.

image

I used the same test environment for two versions. Please check the errors.

xsmart commented 6 years ago

New version use gsoap based onvif, could you help capture package by wireshark let us compare

chomooho commented 6 years ago

Sorry, I don’t use Wireshark. I can give you VidStor console message. image

chomooho commented 6 years ago

I captured packets by Wireshark.

onvif4878.zip

xsmart commented 6 years ago

From the wireshark package, the client fin the tcp connect because the server does not give the ACK, and the client need optimize some parameter for this, which camera model or can you map the camera to internet let us do some remote connect debugging?

xsmart commented 6 years ago

I have try to fix, please update the code & try again. https://github.com/veyesys/rapidvms/commit/cd035015e63b636a99817cf80d0d223ab6ae3080

chomooho commented 6 years ago

After changing the onvif timeout values, 3 cameras are working. 192.168.1.48, 192.168.1.78, 192.168.1.74 are working. But one camera is still not connected with onvif. This camera is /192.168.1.97:80/onvif/device_service. The camera model is Samsung SND-6084R. The followings are the console messages and captured packets by Wireshark.

console-stor170828.txt

onvif170828.zip

xsmart commented 6 years ago

Does the time of camera is same with the pc rapidvms run on ?

chomooho commented 6 years ago

After setting the time of camera, the camera status is changed to green color from gray. But the live view is not appeared as follows: liveview The followings are captured packets by Wireshark.

onvif170828-1130.zip

chomooho commented 6 years ago

But in rapidvms-r2.0.7, /192.168.1.97:80/onvif/device_service is connected. In order to reduce the captured packet file size for Web upload, I connect only one camera. a

The following file is captured packets by Wireshark in rapidvms-r2.0.7. 2.07onvif170828-1435 (2).zip