Divyanshu Kalra Posted September 29, 2020 Share Posted September 29, 2020 I followed this file: https://gist.github.com/mekya/1272449b72119745bc78333270e0c47c and am getting publishtimeouterror. Any help will be appreciated. Link to comment Share on other sites More sharing options...
0 Huy L Posted September 30, 2020 Share Posted September 30, 2020 Hi there, I'm just a guest, You can check your source code and update ice server like as below: var pc_config = { 'iceServers' : [ { 'urls' : 'stun:stun1.l.google.com:19302' } ] }; Solution 2:Please add the following line settings.webrtc.stunServerURI=stun:stun1.l.google.com:19302 into the following file /usr/local/antmedia/webapps/APP_NAME/WEB-INF/red5-web.properties and restart the server. Solution 3: Please edit the following line in /usr/local/antmedia/conf/red5.properties server.name=SERVER_PUBLIC_IP_ADDRESS Please add the following line settings.replaceCandidateAddrWithServerAddr=true into the following file /usr/local/antmedia/webapps/APP_NAME/WEB-INF/red5-web.properties and restart the server Solution 4: You can install your own TURN server and use it as a STUN server. You can look this document to install TURN server: https://github.com/ant-media/Ant-Media-Server/wiki/Turn-Server-Installation with this setting: settings.webrtc.stunServerURI=stun:YOUR_TURN_SERVER_IP:3478 Solution 5: Check open UDP Ports(5000-65000)? Solution 6: Make sure your network bandwidth is high. Thanks, Link to comment Share on other sites More sharing options...
0 Divyanshu Kalra Posted September 30, 2020 Author Share Posted September 30, 2020 Thank you for your reply, i dont think this is the problem, since https://gist.github.com/mekya/1272449b72119745bc78333270e0c47c is working. Link to comment Share on other sites More sharing options...
0 Enes Kuluk Posted September 30, 2020 Share Posted September 30, 2020 Could you clarify it whether it works or not?Best Regards. Link to comment Share on other sites More sharing options...
Question
Divyanshu Kalra
I followed this file: https://gist.github.com/mekya/1272449b72119745bc78333270e0c47c
and am getting publishtimeouterror. Any help will be appreciated.
Link to comment
Share on other sites
Top Posters For This Question
2
1
1
Popular Days
Sep 30
3
Sep 29
1
Top Posters For This Question
Divyanshu Kalra 2 posts
Enes Kuluk 1 post
Huy L 1 post
Popular Days
Sep 30 2020
3 posts
Sep 29 2020
1 post
3 answers to this question
Recommended Posts