[FFmpeg-user] Problem with get rtsp streaming in UDP from private network

Lidor Abo lidor at deepinnovations.co.uk
Tue Feb 16 15:49:18 EET 2021


Hey there,
I have a problem with get streaming from wowza stream engine as described
below:
I try to get streaming in private network from wowza stream engine in UDP
with ffmpeg as following:
ffmpeg -loglevel debug -rtsp_transport udp -i "rtsp://
192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream"
-acodec copy -vcodec copy test.mp4
and i get the following error:
rtsp://192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream:
Connection timed out
Few remarks about that:
1. When i try to get streaming using public ip with ffmpeg utility i
success in UDP and TCP
2. I success to get streaming with private IP with TCP connection through
ffmpeg utility as following:
ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp://
192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream"
-acodec copy -vcodec copy test.mp4
3. I open 1935 UDP and TCP ports in security group of wowza stream engine
for machines that will need to get streaming from wowza stream engine.
Also, i opened UDP in 6970-9999 range for any ip address.
4. I added relevant IP address in Whitelist property in Server.xml conf in
wowza stream engine.
5. I using vpn service (perimeter) to access the machine that from it i get
streaming from wowza streaming engine.
6. iptables in machine that i try to get stream allow any rule and not
enabled any firewall.


More information about the ffmpeg-user mailing list