Answer the question
In order to leave comments, you need to log in
Where can I see the API or standards for working with DVRs, or how can I see the requests that are exchanged between the software and the DVR?
Essence of the question
There are DVRs in different parts of the city. Periodically, some of them quietly fall off the record. It goes online, but there is no archive. There is no way to go around them daily, as well as to manually check for the presence of a recording of each camera every day.
There is an idea to write a script that would simply poll the registrar and ask to upload a list of files for such and such a number from such and such cameras, the records themselves are, as it were, not needed, just their presence (in fact, the basic functionality is any sms).
Does anyone know either diagnostic software for this issue, or a program that could catch traffic and see requests to the registrar, or is it really smart where you can see the exchange API ???
Answer the question
In order to leave comments, you need to log in
I made an API for setting up registrars produced by XM (port 34567) - in python, in order to get rid of platform-dependent sish libs.
https://github.com/NeiroNx/python-dvr
In theory, the search for record files can be implemented quite easily on it (the documentation for the protocol is also there).
I also tried to do for Dahua (RVi from which they are purchased) the protocol is too binary and not clear - as a result, I scored.
I watched the traffic with Wireshark.
In fact, the 3 main mass manufacturers XM, Dahua, Hikvision, and the rest are not popular or they release frank shit that a normal installer will not install in any project. The XM and Dahua protocols are similar (some people stole software from others). It would be nice to disassemble Hikvision - I did not have equipment for traffic sniffing.
There is an idea to write a script that would simply poll the registrar and ask to upload a list of files for such and such a number from such and such cameras
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question