Dahua Python SDK: P2P Connection
I have Dahua's CCTV camera and DVR in my home. I want to get its live feed and run my own computer vision algorithms on top of it. I am using Dahua's python sdk (General_NetSDK_Eng_Python_win64_IS_V3.058.0000004.0.R.241125) from their official website (Dahua Partner Alliances) to tinker with my DVR. The following code snippet from their RealPlayDemo.py file (present in their sdk's demo folder) shows how they are connecting using Ip and port: def login(self): stuInParam = NET_IN_LOGIN_WITH_HIGHLEVEL_SECURITY() stuInParam.dwSize = sizeof(NET_IN_LOGIN_WITH_HIGHLEVEL_SECURITY) stuInParam.szIP = b'
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.