This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

HIKVision support
#1
My client has on his house HIKVision cameras and I am so impressed about its quality and also modern webserver and API. But it is fresh software so I must update my scripts to support such cameras. I found that I cannot download an image in same way as before in BCS cameras. I have right path:
http://username:password@ip_address:port/ISAPI/Streaming/channels/102/picture

and it's work perfectly on webbrowser but unfortunately not in script.

This is my script:

Code:
require('socket.http')

local image1 = socket.http.request('http://username:password@ip_address:port/ISAPI/Streaming/channels/102/picture')
log(#image1)


And it logs that length of image1 is nil.


I've found this specification:
http://down.dipol.com.pl/Cctv/-Hikvision...ervice.pdf

I've had similar differences when I've tried get image from old BCS camera and new HIK by Postman app and I've figured out that on HIK cameras autentification must be set to Digest Auth. How can I do it in Lua?
Done is better than perfect
Reply


Messages In This Thread
HIKVision support - by buuuudzik - 05.10.2018, 20:27
RE: HIKVision support - by buuuudzik - 05.10.2018, 21:41
RE: HIKVision support - by admin - 06.10.2018, 05:01
RE: HIKVision support - by buuuudzik - 06.10.2018, 06:19
RE: HIKVision support - by admin - 09.10.2018, 06:26
RE: HIKVision support - by buuuudzik - 09.10.2018, 07:11
RE: HIKVision support - by buuuudzik - 09.10.2018, 14:16
RE: HIKVision support - by admin - 09.10.2018, 14:36
RE: HIKVision support - by buuuudzik - 09.10.2018, 14:45
RE: HIKVision support - by admin - 09.10.2018, 15:35
RE: HIKVision support - by buuuudzik - 09.10.2018, 16:33
RE: HIKVision support - by admin - 09.10.2018, 16:50
RE: HIKVision support - by buuuudzik - 09.10.2018, 17:30
RE: HIKVision support - by admin - 10.10.2018, 10:22
RE: HIKVision support - by buuuudzik - 10.10.2018, 11:00
RE: HIKVision support - by admin - 10.10.2018, 11:51
RE: HIKVision support - by buuuudzik - 10.10.2018, 12:33
RE: HIKVision support - by Alberto.ricof - 28.05.2020, 14:40
RE: HIKVision support - by Alberto.ricof - 29.05.2020, 11:43

Forum Jump: