RTSP failure for ICE timeout

felix_aider

New Member
Sorry Max, but I'm having trouble playing the streams again.

Streams fail with stream.getInfo method returning 'Failed by ICE timeout'.

I did change my flashphoner.properties file and ec2 inbound rules and theses are my configurations now.


1706511411842.png


1706511541088.png


Everything seemed to work just fine but now, I can't play a single stream.

/?action=stat&params=streams_viewers&format=json request shows that there are rtsp streams created with 0 viewers each.

What could have gone wrong?
Btw, I'm playing about 20 streams on a page.
Could it be the reason?
 

Max

Administrator
Staff member
Good day.
Please check if IP addresses in ip and ip_local settings in /usr/local/FlashphonerWebCallServer/conf/flashphoner.properties file are valid and equal to external and internal instance IPs respectively.
You can also try to run the command
Code:
cd /usr/local/FlashphonerWebCallServer/bin
sudo ./webcallserver set-ip
to detect IP addresses properly. Then restart WCS
Code:
sudo systemctl restart webcallserver
 

felix_aider

New Member
Good day.
Please check if IP addresses in ip and ip_local settings in /usr/local/FlashphonerWebCallServer/conf/flashphoner.properties file are valid and equal to external and internal instance IPs respectively.
You can also try to run the command
Code:
cd /usr/local/FlashphonerWebCallServer/bin
sudo ./webcallserver set-ip
to detect IP addresses properly. Then restart WCS
Code:
sudo systemctl restart webcallserver
Sorry I can’t check the IP configuration until tomorrow, but IP seemed fine.
I will try and reply with the result tomorrow.

I was able to play streams for a while from time to time though.

Could I have overloaded the WCS and it took a while to cleanup residue?
 

Max

Administrator
Staff member
Try to switch server to TCP
Code:
ice_tcp_transport=true
Then restart server process.

If it does not help, please provide SSH access via this form. We will check.
 

felix_aider

New Member
Hi, Max

I did set IP again and ice_tcp_transport option and restart.

Unfortunately, my streams are still failing. :(

I submitted the form with private key.
 

Max

Administrator
Staff member
We checked the instance. The problem was in iptables settings: it is enabled by default, and it opens less ports than configured in inbound rules. We reset iptables
Code:
iptables -F
and WebRTC publishing and playback seems working now.
 
Top