can´t load RTSP stream with AWS EC2 instance

Roy

New Member
I'm using the demo version of WCS to test RTSP streams from IP cameras. I've successfully played some streams I've found on the internet. However, when I try using my phone as an IP camera and I give the RTSP URL to WCS it doesn't load even though it loads with VLC and OpenCV.

Internet's RTSP URLs:
rtsp://freja.hiof.no:1935/rtplive/_definst_/hessdalen03.stream
rtsp://freja.hiof.no:1935/rtplive/_definst_/hessdalen02.stream
rtsp://freja.hiof.no:1935/rtplive/_definst_/hessdalen01.stream

Some of the RTSP URLs I've used with multiple RTSP Server apps on my phone:
rtsp://(device ip address):5554/camera
rtsp://(device ip address):5540/ch0
rtsp://(device ip address):8080/video/h264
 

Max

Administrator
Staff member
Good day.
What phone do you use for this (iOS or Android) and what programs?
You will probably need to open additional ports to get the video stream. But in the case of using the phone as a camera, it may not be possible.
 
Last edited:

Roy

New Member

Max

Administrator
Staff member
The following network accessibility is required to work video broadcasting via the RTSP protocol:
- port 554 (TCP)

If your phone is set behind NAT (typically), then the above network port should be accessible by its external IP address.
 
Last edited:

Roy

New Member
I've made those ports accessible via port forwarding in my router and I still can't play the stream with WCS. Are you sure there isn't any other way to get it to work?
 

Max

Administrator
Staff member
There are two ways to get this working
1) Route port
Make sure your port is open and routed properly.
Perform command from WCS server:
Code:
telnet 9.9.9.9 554
Here 9.9.9.9 is external IP address of your NAT
554 is port routed to your device
2) Locate WCS server inside of your LAN.
Spin up a Centos 7.x server inside of your LAN and install WCS there.

If you were able to open port, please provide RTSP URL.
We will check from our end.
 
Top