How to stream video from Dahua camera without port forwarding?

Artik

n3wb
Joined
May 21, 2019
Messages
7
Reaction score
0
Location
Netherlands
We are installing Dahua cameras in some places and usually, it's not a problem to make port forwarding to get a stream from that camera

But in 20% of cases - we just can't receive access to the router for some reasons

Is that possible to configure somehow Dahua camera to stream video by itself to my URL?
I'll create web server there to accept incoming video stream and handle it after that, it's no problem at all
Problem is to force Dahua camera to send that video stream to my custom IP : PORT

The camera model is IPC A35
P.S our customer is already bought tons of IPC A35 so we can't change that :(
 
Last edited:

MakeItRain

Pulling my weight
Joined
Aug 7, 2017
Messages
401
Reaction score
218
Is webserver on the same subnet network as the cameras? Or is the webserver across the internet?

if it is on the same subnet network, can't you just use rtsp? you can use VLC player to test it which I have before and it works well.

if it is across the internet, somebody on here figured out how to stream to youtube and you can watch it on youtube Live.
 

Artik

n3wb
Joined
May 21, 2019
Messages
7
Reaction score
0
Location
Netherlands
Is webserver on the same subnet network as the cameras? Or is the webserver across the internet?

if it is on the same subnet network, can't you just use rtsp? you can use VLC player to test it which I have before and it works well.

if it is across the internet, somebody on here figured out how to stream to youtube and you can watch it on youtube Live.
They can be even on different continents
I see that firmware that provides RTMP support is not ready for production (as I see - maximum result without interruption - 8 days)
 

Artik

n3wb
Joined
May 21, 2019
Messages
7
Reaction score
0
Location
Netherlands
You're a little stuck for options as the IPC-A35 doesn't have RMTP support. Your best option is using P2P if VPN is not an option.
But how Imou application make that stream just using the serial number and secret code of the IPC-A35 camera?
 

Artik

n3wb
Joined
May 21, 2019
Messages
7
Reaction score
0
Location
Netherlands
Uses P2P so an intermediate server provided by Dahua.
Could we use it somehow like they use?
Does anyone got SDK from Dahua?


Is that possible to force some camera to use VPN?
I mean that I want to put some credentials into that camera and it will be connected to my VPN

So, I'll create VPN on some server and all the cameras will be connected to it
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Could we use it somehow like they use?
Does anyone got SDK from Dahua?


Is that possible to force some camera to use VPN?
I mean that I want to put some credentials into that camera and it will be connected to my VPN

So, I'll create VPN on some server and all the cameras will be connected to it
You dont need the camera to use vpn. Simply block all internet for the camera and setup a vpn server on your network. See securing your network in the wiki.
 

jack7

Getting comfortable
Joined
Mar 21, 2019
Messages
323
Reaction score
250
Location
USA
Unfortunately, we can't use VPN option on those locations as we:
1) Don't have access to the routers (we can only make a connection to Wi-Fi network with password)
2) There are no other computers
Suggestion:
For those locations, enable P2P in the cameras. Use Dahua SmartPSS on a remote PC to connect to the cameras using camera serial numbers. Use cameras in SmartPSS, or if necessary, find a way to route the video streams in SmartPSS to your software. Perhaps SmartPSS Video Wall interface could somehow provide a way.
 
Top