RTMP Stream with error of Failed with ICE Timeout

sabb

New Member
Error on playing a stream being published through ffmpeg for mp4 file

The session shows as available though in player it fails with the above error.

Server - ssl is configured with real domain name, site is configured with trial license from Flashphoner

Able to test two way streaming through web cam , that works fine in browser though it fails on ffmpeg push . What am i missing

Below are ports opened on

Inbound rules
Type
Protocol
Port range
Source
Description - optional
HTTPTCP800.0.0.0/0-
HTTPTCP80::/0-
Custom TCPTCP88880.0.0.0/0-
Custom TCPTCP8888::/0-
Custom TCPTCP80800.0.0.0/0-
Custom TCPTCP8080::/0-
Custom UDPUDP30000 - 330000.0.0.0/0-
Custom UDPUDP30000 - 33000::/0-
Custom TCPTCP19350.0.0.0/0-
Custom TCPTCP1935::/0-
SSHTCP2284.208.81.246/32-
Custom TCPTCP84440.0.0.0/0-
Custom TCPTCP8444::/0-
Custom TCPTCP84430.0.0.0/0-
Custom TCPTCP8443::/0-
Custom TCPTCP30000 - 330000.0.0.0/0-
Custom TCPTCP30000 - 33000::/0-
 

Max

Administrator
Staff member
Good day.
Able to test two way streaming through web cam , that works fine in browser though it fails on ffmpeg push . What am i missing
Do you publish RTMP stream from MP4 file, for example
Code:
ffmpeg -i file.mp4 -preset ultrafast -acodec aac -ar 48000 -vcodec h264 -strict -2 -f flv "rtmp://wcs:1935/live/stream1"
and then try to play the stream via WebRTC (in Player example) as stream1?
If not, please clarify exactly how do you test?
Please also collect a report as described here and send using this private form. Or you can provide SSH access to the server with publish and play ability using this private form, we will check.
 

sabb

New Member
Hi , yes did it through ffmpeg both for a local mp4 and also for remote m3u8 relay .. small changes compared to switches you mentioned for ffmpeg .. was missing -ar 48000 and did not had the stream in double quotes for rtmp section for server

I tested using player section on the flashphoner web page (player) and checked for stream with that error

anyway sent the information for ssh server for you to test directly on the server

The domain name can be looked through reverse lookup hopefully or else let me know if not working
 

sabb

New Member
Command used
ffmpeg -i file.mp4 -preset ultrafast -acodec aac -ar 48000 -vcodec h264 -strict -2 -f flv "rtmp://servername:1935/live/stream1"
 

Max

Administrator
Staff member
We cannot reproduce the issue on your server:
1. Publish RTMP stream using ffmpeg
1611567779753.png

2. Play using Player example
1611567890589.png

So it seems like media ports were blocked until you opened them for test, or they are blocked between your desktop and server. Please check.
But we still can't connect to SSH port, it seems to opened for your IP address only.
 

sabb

New Member
Indeed the issue was with my mac, very strange as it works on another windows machine in same network

Thank you for clarification. Shall open another request or relay issues
 
Top