There are several reasons for publishtimeout errors and here are some of them.
1 - UDP ports (and for cluster case TCP ports) are not opened. This is unlikely for your case since you say that it is fine when you publish with browser and successfully play it. However you can double check that UDP ports 5000 - 65000 are open
Also for cluster mode TCP:5000-65000 (You need to open this range in only cluster mode for internal network. It should not be open to public.)
2 - You can try changing settings.webrtc.client.start.timeoutMs= parameter according to your usage. This parameter default value is 5000. So Ant Media Server waiting for video with 5 seconds. You can increase 10 seconds with below:
settings.webrtc.client.start.timeoutMs=10000
You need to add in your application settings. You can see application settings here: /webapps//WEB-INF/red5-web.properties
3 - If there is a problem in the network(Firewall, UDP or other things), such a problem may occur. Some networks drop real-time packets.
, Chaitulittle <chaitu...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/83656d8a-5dc3-40f7-bc93-1a2ece39497fn%40googlegroups.com.