Publish TimeOut Error

744 views
Skip to first unread message

Upendra Kumar

unread,
Jun 22, 2021, 8:06:28 AM6/22/21
to ant-medi...@googlegroups.com, Vinod Tana
Hi team 

We are getting time out errors while publishing the video.

Thanks 
Upendra


Yash Tandon

unread,
Jun 22, 2021, 10:58:11 AM6/22/21
to Ant Media Server

Hi Upendra Kumar,
Hope you are fine.

Please provide below details regarding your issue.
Short description
description of what happened
Environment
* Operating system and version:
* Ant Media Server version:
* Browser name and version:

Also, you should check your firewall, for most of the time UDP ports are getting blocked for webRTC and people get publish time out errors. So please make sure that UDP ports between 5000-65000 are open for server and there are no blockage at the broadcaster. 

Also please share the log files, you can collect log files from cd /usr/local/antmedia/log/ folder

Regards,
Yash

Vinod Tana

unread,
Jun 24, 2021, 1:40:33 AM6/24/21
to Ant Media Server
Hi Team,

Please find the below details:

While starting video server using below URL we are getting error


Errors:

live_streaming@LiveStreaming:/usr/local/antmedia/log$ tail -f antmedia-error.log

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:503)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)

at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1620)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.base/java.lang.Thread.run(Thread.java:829)



Thanks,
Vinod T

Yash Tandon

unread,
Jun 24, 2021, 1:49:44 AM6/24/21
to Ant Media Server

Hi Vinod,
Hope you are fine.
As I have checked by publishing the stream on your server, it is working fine as expected.
https://livestream.eastus.cloudapp.azure.com:5443/WebRTCAppEE/?name=67 

​Are you facing any problem while publishing the stream on your server?

Regards,
Yash

Vinod Tana

unread,
Jun 24, 2021, 1:59:08 AM6/24/21
to Yash Tandon, Ant Media Server
Hi Yash,

Yes, sometimes we will get socket timeout errors like below..

Even if we start video successfully after 30 min or 45 mins again we will get timeout error like below



image.png


Thanks,
Vinod T
 

--
You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/5cLVPxJhFCg/unsubscribe.
To unsubscribe from this group and all its topics, 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/d4399cdd-f174-4423-9d12-121a70d06485n%40googlegroups.com.

Yash Tandon

unread,
Jun 24, 2021, 2:37:34 AM6/24/21
to Ant Media Server
Hi Vinod,
Could you please collect the logs and share with us when you again face the "publishTimeoutError" issue. You can collect the log files from cd /usr/local/antmedia/log/ folder.
Also could you please tell us that which Ant Media server version you are using currently.

Regards,
Yash

Vinod Tana

unread,
Jun 29, 2021, 5:57:09 AM6/29/21
to Yash Tandon, Ant Media Server, Upendra Kumar, Yashwanth keshav, Ashok Gummalla
Hi Yash,

Again today we are getting publishTimeoutError error while publishing a video...

Please find the below errors: 

websocket_adaptor.js:136 sent message:{"command":"publish","streamId":"125","video":true,"audio":true}
webrtc_adaptor.js:1042 stream id in init peer connection: 125 close stream id: 125
websocket_adaptor.js:136 sent message:{"command":"takeConfiguration","streamId":"125","type":"offer","sdp":"v=0\r\no=- 654460847379853639 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2 3\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS bd4c98ca-0350-48ca-9eca-132e2d2c43da\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:48i8\r\na=ice-pwd:+220s90m2f2wrCc/lXM7bQSG\r\na=ice-options:trickle\r\na=fingerprint:sha-256 52:06:11:C8:72:FB:8A:CF:BE:AD:90:B6:CF:B3:56:49:EF:C8:20:81:0A:D5:28:01:30:AE:9E:63:7D:56:54:0C\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:bd4c98ca-0350-48ca-9eca-132e2d2c43da d52fe457-8260-4023-83e9-f4e0b0658b6a\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:1824022650 cname:lhrMBgL/r0/mUbFT\r\na=ssrc:1824022650 msid:bd4c98ca-0350-48ca-9eca-132e2d2c43da d52fe457-8260-4023-83e9-f4e0b0658b6a\r\na=ssrc:1824022650 mslabel:bd4c98ca-0350-48ca-9eca-132e2d2c43da\r\na=ssrc:1824022650 label:d52fe457-8260-4023-83e9-f4e0b0658b6a\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:48i8\r\na=ice-pwd:+220s90m2f2wrCc/lXM7bQSG\r\na=ice-options:trickle\r\na=fingerprint:sha-256 52:06:11:C8:72:FB:8A:CF:BE:AD:90:B6:CF:B3:56:49:EF:C8:20:81:0A:D5:28:01:30:AE:9E:63:7D:56:54:0C\r\na=setup:actpass\r\na=mid:1\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:bd4c98ca-0350-48ca-9eca-132e2d2c43da a7250ca5-afdb-49a4-99d9-179f2c34f74a\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:3280228249 cname:lhrMBgL/r0/mUbFT\r\na=ssrc:3280228249 msid:bd4c98ca-0350-48ca-9eca-132e2d2c43da a7250ca5-afdb-49a4-99d9-179f2c34f74a\r\na=ssrc:3280228249 mslabel:bd4c98ca-0350-48ca-9eca-132e2d2c43da\r\na=ssrc:3280228249 label:a7250ca5-afdb-49a4-99d9-179f2c34f74a\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 121 127 120 125 107 108 109 35 36 124 119 123 118 114 115 116\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:48i8\r\na=ice-pwd:+220s90m2f2wrCc/lXM7bQSG\r\na=ice-options:trickle\r\na=fingerprint:sha-256 52:06:11:C8:72:FB:8A:CF:BE:AD:90:B6:CF:B3:56:49:EF:C8:20:81:0A:D5:28:01:30:AE:9E:63:7D:56:54:0C\r\na=setup:actpass\r\na=mid:2\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:bd4c98ca-0350-48ca-9eca-132e2d2c43da ff01623d-bbee-4c25-a57f-a2affd999b63\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 VP9/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 profile-id=2\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:102 H264/90000\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 transport-cc\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=rtpmap:121 rtx/90000\r\na=fmtp:121 apt=102\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=127\r\na=rtpmap:125 H264/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=125\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:35 AV1X/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:124 H264/90000\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 transport-cc\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0032\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 apt=124\r\na=rtpmap:123 H264/90000\r\na=rtcp-fb:123 goog-remb\r\na=rtcp-fb:123 transport-cc\r\na=rtcp-fb:123 ccm fir\r\na=rtcp-fb:123 nack\r\na=rtcp-fb:123 nack pli\r\na=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032\r\na=rtpmap:118 rtx/90000\r\na=fmtp:118 apt=123\r\na=rtpmap:114 red/90000\r\na=rtpmap:115 rtx/90000\r\na=fmtp:115 apt=114\r\na=rtpmap:116 ulpfec/90000\r\na=ssrc-group:FID 1490081619 961818546\r\na=ssrc:1490081619 cname:lhrMBgL/r0/mUbFT\r\na=ssrc:1490081619 msid:bd4c98ca-0350-48ca-9eca-132e2d2c43da ff01623d-bbee-4c25-a57f-a2affd999b63\r\na=ssrc:1490081619 mslabel:bd4c98ca-0350-48ca-9eca-132e2d2c43da\r\na=ssrc:1490081619 label:ff01623d-bbee-4c25-a57f-a2affd999b63\r\na=ssrc:961818546 cname:lhrMBgL/r0/mUbFT\r\na=ssrc:961818546 msid:bd4c98ca-0350-48ca-9eca-132e2d2c43da ff01623d-bbee-4c25-a57f-a2affd999b63\r\na=ssrc:961818546 mslabel:bd4c98ca-0350-48ca-9eca-132e2d2c43da\r\na=ssrc:961818546 label:ff01623d-bbee-4c25-a57f-a2affd999b63\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:48i8\r\na=ice-pwd:+220s90m2f2wrCc/lXM7bQSG\r\na=ice-options:trickle\r\na=fingerprint:sha-256 52:06:11:C8:72:FB:8A:CF:BE:AD:90:B6:CF:B3:56:49:EF:C8:20:81:0A:D5:28:01:30:AE:9E:63:7D:56:54:0C\r\na=setup:actpass\r\na=mid:3\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":0,"id":"0","candidate":"candidate:2155384743 1 udp 2122262783 2401:4900:4cad:29a3:b97c:5ab:d3a0:d757 63495 typ host generation 0 ufrag 48i8 network-id 2 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":0,"id":"0","candidate":"candidate:2085479440 1 udp 2122194687 192.168.33.176 55978 typ host generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":1,"id":"1","candidate":"candidate:2155384743 1 udp 2122262783 2401:4900:4cad:29a3:b97c:5ab:d3a0:d757 55979 typ host generation 0 ufrag 48i8 network-id 2 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":1,"id":"1","candidate":"candidate:2085479440 1 udp 2122194687 192.168.33.176 49292 typ host generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":2,"id":"2","candidate":"candidate:2155384743 1 udp 2122262783 2401:4900:4cad:29a3:b97c:5ab:d3a0:d757 49293 typ host generation 0 ufrag 48i8 network-id 2 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":2,"id":"2","candidate":"candidate:2085479440 1 udp 2122194687 192.168.33.176 53685 typ host generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":3,"id":"3","candidate":"candidate:2155384743 1 udp 2122262783 2401:4900:4cad:29a3:b97c:5ab:d3a0:d757 53686 typ host generation 0 ufrag 48i8 network-id 2 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":3,"id":"3","candidate":"candidate:2085479440 1 udp 2122194687 192.168.33.176 55677 typ host generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":0,"id":"0","candidate":"candidate:3472585559 1 tcp 1518283007 2401:4900:4cad:29a3:b97c:5ab:d3a0:d757 9 typ host tcptype active generation 0 ufrag 48i8 network-id 2 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":0,"id":"0","candidate":"candidate:852367584 1 tcp 1518214911 192.168.33.176 9 typ host tcptype active generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":1,"id":"1","candidate":"candidate:3472585559 1 tcp 1518283007 2401:4900:4cad:29a3:b97c:5ab:d3a0:d757 9 typ host tcptype active generation 0 ufrag 48i8 network-id 2 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":1,"id":"1","candidate":"candidate:852367584 1 tcp 1518214911 192.168.33.176 9 typ host tcptype active generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":2,"id":"2","candidate":"candidate:3472585559 1 tcp 1518283007 2401:4900:4cad:29a3:b97c:5ab:d3a0:d757 9 typ host tcptype active generation 0 ufrag 48i8 network-id 2 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":2,"id":"2","candidate":"candidate:852367584 1 tcp 1518214911 192.168.33.176 9 typ host tcptype active generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":3,"id":"3","candidate":"candidate:3472585559 1 tcp 1518283007 2401:4900:4cad:29a3:b97c:5ab:d3a0:d757 9 typ host tcptype active generation 0 ufrag 48i8 network-id 2 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":3,"id":"3","candidate":"candidate:852367584 1 tcp 1518214911 192.168.33.176 9 typ host tcptype active generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":3,"id":"3","candidate":"candidate:2965429123 1 udp 1685987071 223.185.77.50 26043 typ srflx raddr 192.168.33.176 rport 55677 generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":2,"id":"2","candidate":"candidate:2965429123 1 udp 1685987071 223.185.77.50 26081 typ srflx raddr 192.168.33.176 rport 53685 generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":0,"id":"0","candidate":"candidate:2965429123 1 udp 1685987071 223.185.77.50 26040 typ srflx raddr 192.168.33.176 rport 55978 generation 0 ufrag 48i8 network-id 1 network-cost 10"}
websocket_adaptor.js:136 sent message:{"command":"takeCandidate","streamId":"125","label":1,"id":"1","candidate":"candidate:2965429123 1 udp 1685987071 223.185.77.50 26042 typ srflx raddr 192.168.33.176 rport 49292 generation 0 ufrag 48i8 network-id 1 network-cost 10"}
webrtc_adaptor.js:998 No event.candidate in the iceCandidate event
?name=125:529 iceConnectionState Changed: {"state":"checking","streamId":"125"}
?name=125:691 error callback: "publishTimeoutError" image.png

Yash Tandon

unread,
Jun 29, 2021, 6:19:03 AM6/29/21
to Ant Media Server
Hi Vinod,
Hope you are fine.
We need to check your logs. Could you please share the ant media server and ant media error log files. You can collect the log files from cd /usr/local/antmedia/log/ folder.
As I have checked, the stream is publishing fine on your server.

Regards,
Yash


Vinod Tana

unread,
Jun 29, 2021, 8:17:32 AM6/29/21
to Yash Tandon, Ant Media Server
Hi Yash,

We don't have log file

image.png

Yash Tandon

unread,
Jun 29, 2021, 8:23:45 AM6/29/21
to Ant Media Server
Dear Vinod,
You can send us the ant-media-server.log file that is showing in your log folder.

Regards,
Yash 

Vinod Tana

unread,
Jun 29, 2021, 11:31:03 AM6/29/21
to Yash Tandon, Ant Media Server, Ashok Gummalla, Yashwanth keshav, Upendra Kumar
Hi Yash,

Please find the ant-media-server.log file.
and once we started Live we are getting WebSocket Connection is Disconnected. like below...
When will WebSocket Connection is Disconnected error ?

image.png

server_log.text

Vinod Tana

unread,
Jun 29, 2021, 12:00:05 PM6/29/21
to Yash Tandon, Ant Media Server, Ashok Gummalla, Yashwanth keshav, Upendra Kumar
and version is ant-media-server-enterprise-2.3.2.

Yash Tandon

unread,
Jun 30, 2021, 3:07:48 AM6/30/21
to Ant Media Server
Hi Vinod,
There are several reasons for publish timeout errors and here are some of them.

1.) You should check your firewall, for most of the time UDP ports are getting blocked for webRTC and people get publish time out errors. So please make sure that UDP ports between  5000-65000 are open for server and there are no blockage at the broadcaster. 

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: cd /usr/local/antmedia/webapps/(LiveApp/WebRTCAppEE)/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.

Regards,
Yash

Vinod Tana

unread,
Jul 1, 2021, 11:27:58 PM7/1/21
to Yash Tandon, Ant Media Server, Ashok Gummalla, Upendra Kumar, Yashwanth keshav
Hi Yash,

As you suggested, UDP ports between  5000-65000 already it's there from starting and settings.webrtc.client.start.timeoutMs flag after increasing 5 sec to 10 sec also sometimes we are getting timeout Error.

Adding below ant-media-server.log and antmedia-error.log.

Can we join the call and discuss more on this ?

Thanks,
Vinod T


antmedia-error.text
ant-media-server.text

Yash Tandon

unread,
Jul 2, 2021, 2:09:26 AM7/2/21
to Ant Media Server
Hi Vinod,
As I checked in logs, it seems you are using your own custom STUN server which could also be the reason behind this intermittent issue.
In respect to STUN perspective, having your own STUN server over Google's does not have much difference. You can use Google STUN server.
Default STUN server in Ant Media Server is "stun:stun1.l.google.com:19302"

Just change the pc_config in your player or publisher. It should be something like this. 
 var pc_config = {
                        'iceServers' : [ {
                                'urls' : 'stun:stun1.l.google.com:19302'
                        } ]
                };

Regards,
Yash

Vinod Tana

unread,
Jul 5, 2021, 6:53:13 AM7/5/21
to Yash Tandon, Ant Media Server
Hi Yash,

Can you please set up a meeting based on your free time ? 
We need some clarifications.


Thanks
Vinod T

Yash Tandon

unread,
Jul 5, 2021, 8:41:50 AM7/5/21
to Ant Media Server
Hi Vinod,
Hope you are doing good. Have you tried using Google's STUN server in your AMS?
Also could you please mail us on sup...@antmedia.io. I will share a link with you over there from which you can schedule a meeting with us.

Regards,
Yash

Vinod Tana

unread,
Jul 6, 2021, 2:28:09 AM7/6/21
to Yash Tandon, Ant Media Server, Yashwanth keshav, Ashok Gummalla, Upendra Kumar
Hi Yash,

We are getting license_suspended_please_renew_license while publishing the video, Please check the screenshot below.

image.png


Thanks,
Vinod T

Yash Tandon

unread,
Jul 6, 2021, 2:42:02 AM7/6/21
to Ant Media Server
Hi Vinod,

Could you please share your License key over support side on the same ticket that you have raised yesterday for the meeting?

Regards,
Yash

Reply all
Reply to author
Forward
0 new messages