Stream is not playing

Max

Administrator
Staff member
Good day.
Seems you're trying to check stream availability before it is successfully published. In the log we see messages Failed by ICE timeout for publish sessions. Please check if media ports (31001-32000/udp) is not blocked by security group/NAT/firewall.
 

Max

Administrator
Staff member
This is the default security group configuration.
Please check if if media ports (31001-32000/udp) are available from the device you use to publish. Use netcat and tcpdump as described here.
 

tharun

New Member
1. we installed flashphoner server in aws and we are checking with testing in two way streaming in which local is published from laptop camera ,so are you saying to check with laptop system ports or on aws installed ports??
2.We need to stream the feed from ip camera so shall we check for media ports opening in there also??
 

Max

Administrator
Staff member
1. we installed flashphoner server in aws and we are checking with testing in two way streaming in which local is published from laptop camera ,so are you saying to check with laptop system ports or on aws installed ports??
2.We need to stream the feed from ip camera so shall we check for media ports opening in there also??
You should check if packets are going from your laptop to your WCS instance ports 31001-32000/udp. Those ports are used for publishing and playing streams via WebRTC (including streams captured from RTSP camera).
 

tharun

New Member
Hi max ,

While i am checking stream with demo flashphoner service i am able to play the video in two way streaming,but with aws wcs server it is not working?
As you said we have opened ports in system also can you please look at this issue and resolve it.
 

Max

Administrator
Staff member
This is forum support. We do not provide any direct support sessions.
If you leave SSH credentials, our engineers will be able to schedule a window and check your server.
You can setup any logs and history to check what is going on the server as an option for presence.
Anyway we will report what changes were made.
 

Max

Administrator
Staff member
Unfotunately, you've provided only dashboard access, not SSH access. So we checket publishing, and confirmed that media ports on the instance are blocked. For example, STUN session cannot be established to port 31274/UDP:
1629870547586.png

The ports set with parameters media_port_from, media_port_to in flashphoner.properties file must be opened both in security group and in iptables.
Please check the security group of the instance, and clear iptables settings:
Code:
sudo iptables -F
If this does not help, provide SSH credentials including user name and private key to login using this form, we will check the instance.
 

Max

Administrator
Staff member
Unfortunately, the server is not accessible:
1629877081707.png

Also, you've provided private key password, but not private key itself.
Please provide a working credentials.
Or you can reproduce the problem and collect a report as described here including client debug logs and traffic dump (mandatory). The traffic dump collection must be started before pressing 'Publish' key. Send the report archive using this form.
 

Max

Administrator
Staff member
The server still is not accessible because you gave no instructions what VPN client should be used and how to setup it.
Please note that if the server is behind VPN/NAT/firewall, and you're trying to publish or play a stream from external network, WebRTC media ports must also be accessible from external network. Please check your NAT/firewall setup in this case. If you cannot setup firewall correctly, you can use TURN to bypass firewall.
 

Max

Administrator
Staff member
Unfortunately, we cannot connect to VPN according to instruction and credentials you've provided:
1629965596778.png

Please reproduce the problem and collect a report as described here including client debug logs and traffic dump (mandatory). The traffic dump collection must be started before pressing 'Publish' key. Send the report archive using this form.
Or deploy the same configuration including WCS setup on server available in public network, and, if the problem can be reproduced on this server, provide SSH acces to it.
 

Max

Administrator
Staff member
Please reproduce the problem and collect a full report as described here including settings, client debug logs and traffic dump (this is mandatory). The traffic dump collection must be started before pressing 'Publish' key. Send the report archive using this form.
 

Max

Administrator
Staff member
We checked you report.
The SDP with following media ports to connect was successfully sent to a client
1630052810343.png

But in the traffic dump there are no incoming packets to these ports:
1630052862286.png

and there is no STUN traffic
1630052883509.png

Seems like incoming UDP traffic is blocked by security group or VPN as we supposed earlier. Please check VPN setup and security group setup.
We cannot do anythig on server side if no STUN connection establishing.
 

tharun

New Member
Hi ,

The issues mentioned from our side are still pending we are unable to resolve those things so can you provide any paid support to resolve the things and make the server up and running ?
 

Max

Administrator
Staff member
The issues mentioned from our side are still pending we are unable to resolve those things so can you provide any paid support to resolve the things and make the server up and running ?
The server itself is up and running. Seems like the issue is in your VPN setup. You should configure media ports (31001-32001/udp) forwarding. If you can't, consider to deploy a server instance outside VPN network.
Or you can use WCS integrated TURN server or third party TURN server (coturn for example) to bypass your VPN. In this case, you should configure only two ports forwarding: websocket port (8443/tcp) and TURN port (3478/tcp).
 
Top