We have working event listener for Dahua NVR written on PHP . Script analyzes info about type of object recognized, and downloads a picture or videoclip at ftp from NVR (using CURL).
1. The listening stops sometimes, and it's necessary to invent automatic restart, etc;
2. It's necessary to create separate connection for listening each ip/port.
We need person who is able to improve the algorithm.