RTSP stream through internet box
Solved
perreet
Posted messages
240
Status
Member
-
kelux Posted messages 3065 Registration date Status Contributor Last intervention -
kelux Posted messages 3065 Registration date Status Contributor Last intervention -
Hello.
I have an ESCAM QD300 camera.
To get the image in VLC on my local network, I open the network stream:
"rtsp://192.168.1.101:554//user=admin_password=_channel=1_stream=0.sdp"
It works perfectly.
The problem is when I want to access it from the internet.
I have forwarded the external port 101 to the device 192.168.1.101 port 554 in my router.
I set up a DNS to have a static IP: perreet.ddns.net
When I try to view "rtsp://perreet.ddns.net:101//user=admin_password=_channel=1_stream=0.sdp", I feel like VLC is loading something but does not display it.
For your information, VLC does not show me any error messages either...
I think my streaming settings on the camera are not correct (I don't know much about it).
If someone has had this kind of configuration...
I have an ESCAM QD300 camera.
To get the image in VLC on my local network, I open the network stream:
"rtsp://192.168.1.101:554//user=admin_password=_channel=1_stream=0.sdp"
It works perfectly.
The problem is when I want to access it from the internet.
I have forwarded the external port 101 to the device 192.168.1.101 port 554 in my router.
I set up a DNS to have a static IP: perreet.ddns.net
When I try to view "rtsp://perreet.ddns.net:101//user=admin_password=_channel=1_stream=0.sdp", I feel like VLC is loading something but does not display it.
For your information, VLC does not show me any error messages either...
I think my streaming settings on the camera are not correct (I don't know much about it).
If someone has had this kind of configuration...
5 answers
Hello,
RTSP works with a control port and another port for streaming media.
Here you have redirected the control port (101 to 554), but not the port for the streaming.
The port is not necessarily predictable; some manufacturers use ports from a different range...
I don't know if you can configure the camera to fix its streaming port.
That way you can do the second port redirection and that's it.
To confirm that there is indeed a second port, have you tried a simple redirection without port rewriting? That is, 554 to 554 instead of 101 to 554?
-
However, I do not recommend using ports below 1024, specifically 101 on the Internet side.
Instead, try 10554 to 554.
Using a registry "compactor" on top of a registry "cleaner" would be equivalent to rinsing your throat with a swig of Jack Daniels after swallowing a pint of snake oil....
RTSP works with a control port and another port for streaming media.
Here you have redirected the control port (101 to 554), but not the port for the streaming.
The port is not necessarily predictable; some manufacturers use ports from a different range...
I don't know if you can configure the camera to fix its streaming port.
That way you can do the second port redirection and that's it.
To confirm that there is indeed a second port, have you tried a simple redirection without port rewriting? That is, 554 to 554 instead of 101 to 554?
-
However, I do not recommend using ports below 1024, specifically 101 on the Internet side.
Instead, try 10554 to 554.
Using a registry "compactor" on top of a registry "cleaner" would be equivalent to rinsing your throat with a swig of Jack Daniels after swallowing a pint of snake oil....
Do it locally to see a normal operation of streaming.
Be careful when testing with the external IP, do not do it from your home.