Veera Bhadra Posted September 10, 2020 Share Posted September 10, 2020 I have recently deployed Antmedia from Azure marketplace. When I try to publish stream via WebRTC, receiving the publish_timeout error. May I know how to solve this issue? Link to comment Share on other sites More sharing options...
0 Veera Bhadra Posted September 10, 2020 Author Share Posted September 10, 2020 I tried the following but getting the same issue. settings.webrtc.stunServerURI=stun:stun1.l.google.com:19302 into the following file /usr/local/antmedia/webapps/APP_NAME/WEB-INF/red5-web.properties Link to comment Share on other sites More sharing options...
0 Huy L Posted September 15, 2020 Share Posted September 15, 2020 I also config the same"bha...@x0pa.com" . and try to another solution as below, =====Please edit the following line in/usr/local/antmedia/conf/red5.propertiesserver.name=SERVER_PUBLIC_IP_ADDRESSPlease add the following linesettings.replaceCandidateAddrWithServerAddr=trueinto the following file/usr/local/antmedia/webapps/APP_NAME/WEB-INF/red5-web.propertiesand restart the server =====however, it still exists the issue. Please help us ? Link to comment Share on other sites More sharing options...
0 Selim Emre Posted September 15, 2020 Share Posted September 15, 2020 Hi, Could you please contact with contact@antmedia.io ? Best Regards, Selim Link to comment Share on other sites More sharing options...
0 Kevin Maude Posted February 23, 2021 Share Posted February 23, 2021 Hello, We are trying to building iOS app with the webrtc camera functionality. We are receiving an timeout error when the go Live button is pushed in the app. The server returns a publish timeout error. Wondering if there is a way to set the timeout error length to be longer or another work around? Link to comment Share on other sites More sharing options...
0 mekya Posted February 23, 2021 Share Posted February 23, 2021 Hi Kevin, I've just checked. OMG it's not configurable on our end. I think we made it configurable. Anyway it's our fault. When I take a look at the codes, I see that timeout error is high enough(20 secs). I mean if you are having publishTimeoutError, it's likely that problem is somewhere else. Are you sure you set all the things correctly in iOS app? I suspect that problem may be there. Regards, A. Oguz Link to comment Share on other sites More sharing options...
0 Upendra Kumar Posted June 22, 2021 Share Posted June 22, 2021 Hi team We are getting time out errors while publishing the video. Thanks Upendra Link to comment Share on other sites More sharing options...
0 Yash Posted June 22, 2021 Share Posted June 22, 2021 Hi Upendra Kumar,Hope you are fine. Please provide below details regarding your issue. Short descriptiondescription 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 Link to comment Share on other sites More sharing options...
0 Vinod Tana Posted June 24, 2021 Share Posted June 24, 2021 Hi Team, Please find the below details: While starting video server using below URL we are getting error https://livestream.eastus.cloudapp.azure.com:5443/WebRTCAppEE/?name=67 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 Link to comment Share on other sites More sharing options...
0 Yash Posted June 24, 2021 Share Posted June 24, 2021 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 Link to comment Share on other sites More sharing options...
0 Vinod Tana Posted June 24, 2021 Share Posted June 24, 2021 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 EmbeddedImages-151/0.jpg Thanks, Vinod T Link to comment Share on other sites More sharing options...
0 Yash Posted June 24, 2021 Share Posted June 24, 2021 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 Link to comment Share on other sites More sharing options...
0 Vinod Tana Posted June 29, 2021 Share Posted June 29, 2021 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"EmbeddedImages-153/0.jpg Link to comment Share on other sites More sharing options...
0 Yash Posted June 29, 2021 Share Posted June 29, 2021 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 Link to comment Share on other sites More sharing options...
0 Vinod Tana Posted June 29, 2021 Share Posted June 29, 2021 Hi Yash, We don't have log file EmbeddedImages-154/0.jpg Link to comment Share on other sites More sharing options...
0 Yash Posted June 29, 2021 Share Posted June 29, 2021 Dear Vinod, You can send us the ant-media-server.log file that is showing in your log folder. Regards, Yash Link to comment Share on other sites More sharing options...
0 Vinod Tana Posted June 29, 2021 Share Posted June 29, 2021 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 ? EmbeddedImages-155/0.jpg server_log.text Link to comment Share on other sites More sharing options...
0 Vinod Tana Posted June 29, 2021 Share Posted June 29, 2021 and version is ant-media-server-enterprise-2.3.2. Link to comment Share on other sites More sharing options...
0 Yash Posted June 30, 2021 Share Posted June 30, 2021 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 Link to comment Share on other sites More sharing options...
0 Vinod Tana Posted July 2, 2021 Share Posted July 2, 2021 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 Link to comment Share on other sites More sharing options...
0 Yash Posted July 2, 2021 Share Posted July 2, 2021 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 Link to comment Share on other sites More sharing options...
0 Vinod Tana Posted July 5, 2021 Share Posted July 5, 2021 Hi Yash, Can you please set up a meeting based on your free time ? We need some clarifications. Thanks Vinod T Link to comment Share on other sites More sharing options...
0 Yash Posted July 5, 2021 Share Posted July 5, 2021 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 support@antmedia.io. I will share a link with you over there from which you can schedule a meeting with us. Regards,Yash Link to comment Share on other sites More sharing options...
0 Vinod Tana Posted July 6, 2021 Share Posted July 6, 2021 Hi Yash, We are getting license_suspended_please_renew_license while publishing the video, Please check the screenshot below.EmbeddedImages-159/0.jpg Thanks, Vinod T Link to comment Share on other sites More sharing options...
0 Yash Posted July 6, 2021 Share Posted July 6, 2021 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 Link to comment Share on other sites More sharing options...
Question
Veera Bhadra
I have recently deployed Antmedia from Azure marketplace. When I try to publish stream via WebRTC, receiving the publish_timeout error.
Link to comment
Share on other sites
Top Posters For This Question
9
9
2
1
Popular Days
Jun 29
6
Jun 24
4
Sep 10
2
Sep 15
2
Top Posters For This Question
Yash 9 posts
Vinod Tana 9 posts
Veera Bhadra 2 posts
Huy L 1 post
Popular Days
Jun 29 2021
6 posts
Jun 24 2021
4 posts
Sep 10 2020
2 posts
Sep 15 2020
2 posts
24 answers to this question
Recommended Posts