I am in the process of trying to implement an Amcrest 2k camera in to my drone setup. I have my drone, Raspberry Pi, UAV Matrix and Mission Planner running successfully and talking over a 4G network flawlessly. I am using Zerotier VPN for network communication. I have setup my ip camera via ethernet cable and have figured out how to run pi as a wired router in order to assign camera a static ip successfully. I can ping the camera from the Raspberry Pi and get the static IP with MAC address. The camera is controlled over http with a web gui but I am unable to connect to camera yet. The camera is VERY versatile and can communicate over TCP, UDP and http protocol. I also have the option of using dynamic DNS through the web gui. I am having problems accessing the camera from outside the network. I am looking to obtain more functionality then just a video stream. I need to be able to control the camera gimble as well which can be done from the web gui.
Is their a way to gain access with the Camera Web gui similar to the way I gain access to UAVCast Pro? Using the VPN IP address and port number? Would I be able to use the same VPN IP with a different port number to access the camera? whenever I try it doesnt work. If UAVcast pro and the camera are on the same network can they use the same pipeline with just different ports?? I am able to assign the camera to static or dhcp as well as change ports to anything I want for different protocols. Please advise.
*One thing I did notice which I dont know if it makes a difference is that when i ping the camera on the raspberry pi, it looks something like this:
? (192.168.100.40 ) at (Mac Address) [eth0].
I dont know if the question mark is part of my problem...
I may have solved my problem. I think I need to put the camera in the same IP range as the Zerotier network. I will need to give it a try.****