How to stream video from Dahua camera without port forwarding?

Discussion in 'Dahua' started by Artik, May 21, 2019.

Share This Page

  1. Artik

    Artik n3wb

    Joined:
    May 21, 2019
    Messages:
    7
    Likes Received:
    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: May 21, 2019
  2. Dabba dabba dabid

    Dabba dabba dabid n3wb

    Joined:
    May 17, 2019
    Messages:
    19
    Likes Received:
    8
    Location:
    Goshen, Indiana
  3. Artik

    Artik n3wb

    Joined:
    May 21, 2019
    Messages:
    7
    Likes Received:
    0
    Location:
    Netherlands
    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
     
  4. MakeItRain

    MakeItRain Pulling my weight

    Joined:
    Aug 7, 2017
    Messages:
    299
    Likes Received:
    142
    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.
     
  5. jiriteach

    jiriteach Young grasshopper

    Joined:
    Apr 13, 2018
    Messages:
    43
    Likes Received:
    8
    Location:
    Wellington, New Zealand
    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.
     
    aristobrat likes this.
  6. Artik

    Artik n3wb

    Joined:
    May 21, 2019
    Messages:
    7
    Likes Received:
    0
    Location:
    Netherlands
    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)
     
  7. Artik

    Artik n3wb

    Joined:
    May 21, 2019
    Messages:
    7
    Likes Received:
    0
    Location:
    Netherlands
    But how Imou application make that stream just using the serial number and secret code of the IPC-A35 camera?
     
  8. jiriteach

    jiriteach Young grasshopper

    Joined:
    Apr 13, 2018
    Messages:
    43
    Likes Received:
    8
    Location:
    Wellington, New Zealand
    Uses P2P so an intermediate server provided by Dahua.
     
  9. Artik

    Artik n3wb

    Joined:
    May 21, 2019
    Messages:
    7
    Likes Received:
    0
    Location:
    Netherlands
    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
     
  10. fenderman

    fenderman Staff Member

    Joined:
    Mar 9, 2014
    Messages:
    30,819
    Likes Received:
    9,792
    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.
     
  11. jack7

    jack7 Young grasshopper

    Joined:
    Mar 21, 2019
    Messages:
    30
    Likes Received:
    19
    Location:
    USA
    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.