[Solved] Help with RTSP Stream

MeCJay12

n3wb
Jan 16, 2020
7
3
USA
Hello! I am having trouble getting a RTSP stream from my Dahua NK8BB7Z. I have it setup to port forward port 554 and port 80 to the IP of my video server (only). For some reason, I can get to the webpage but I cannot get a video stream with either Blue Iris or VLC. I can get it on the local network and I have verified that the RTSP port forward settings are correct/similar to the HTTP port forward settings. Is there anything special or wierd with these cameras like an extra port that needs open or a built in firewall or something? Thanks in advance!
 
Are you trying to view the stream locally or remotely?
Using Blue Iris or VLC?

If viewing on Blue Iris:

If your Blue Iris server and the camera are on the same LAN subnet and you are trying to access the camera stream remotely (via WAN) then you don't forward port 554, instead you forward Blue Iris' port (default is 81 if not used) to the LAN IP of the Blue Iris server.

Insure the camera's IP and the BI server IP's are static.

The URL to access BI's UI3 webserver remotely would be http://Blue-Iris-WAN_IP: BI_port/ui3.htm

If your WAN is not static and you are using DDNS, then the URL to use remotely would be http://Blue-Iris_hostname: BI_port/ui3.htm
 
My BI server is not on the same network as the camera and I am using DDNS. I can get from the BI server to the webUI of the camera (xyz.ddns.com:19080) but not from the BI server to the camera RTSP (xyz.ddns.com:19554).
 
Could you post a screenshot of BI's config page for that cam?
 
  • Like
Reactions: SouthernYankee
I'd remove port 19080 from the cam's URL.
If no joy (still leaving 19080 off) instead in router forward 554 to cam IP and put 554 (internal) in place of 19554 (external) over to the right (Media/Video/RTSP).
 
Sorry, yes. externally the port is 19554 and that is forwarded to internal port 554.
OK.
What about removing the colon and 19080 from the URL?
 
Try putting the actual internet IP address in, in place of the DDNS . Is the problem with the DDNS resolution in BI or is it a problem with the connection and RSTP.
 
Sorry, no change. I also confirmed it with VLC.
So this works locally with VLC?
Code:
rtsp://username:password@Camera-IP:554/cam/realmonitor?channel=1&subtype=0
 
Blue Iris's IP camera configuration page is a mess, with lots of ambiguity about which port and protocol it is going to use. So get it working in VLC first with a URL like the one @TonyR posted. (change Camera-IP and port number as needed).

Is your RTSP port forward (19554 -> 554) for TCP, UDP, or both? It usually uses TCP but to be safe you might try forwarding both protocols.
 
  • Like
Reactions: TonyR
Is there anything special or wierd with these cameras like an extra port that needs open or a built in firewall or something?

No hidden extra port or firewall. You might need to have the correct gateway IP set in the camera however (it should be the IP of the camera's local router of course). Not 100% sure about that being necessary.