NarChar DR24HRS Posted April 2, 2021 Share Posted April 2, 2021 We are testing the ant media cloud service in our website, but we are experiencing connection issues across different networks.please advice... Link to comment Share on other sites More sharing options...
0 Selim Emre Posted April 2, 2021 Share Posted April 2, 2021 Hi, We need to check your client browser console logs and ant-media-server.log file. Could you please add these logs? You can find ant-media-server.log file on /usr/local/antmedia/log folder. Also please share your stream ID? Best Regards, Selim Link to comment Share on other sites More sharing options...
0 devops team Posted April 3, 2021 Share Posted April 3, 2021 Hi, I'm from the Narchar devops team.below is the error which I'm facing 2021-04-03 04:52:30,634 [http-apr-0.0.0.0-5080-exec-9] DEBUG i.a.e.w.WebSocketEnterpriseHandler - Received message: {"command":"ping"} session id: 2b92021-04-03 04:52:30,729 [http-apr-0.0.0.0-5080-exec-4] DEBUG i.a.e.w.WebSocketEnterpriseHandler - Received message: {"command":"ping"} session id: 2b82021-04-03 04:58:00,199 [http-apr-0.0.0.0-5080-exec-4] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: EOFException: 2021-04-03 04:59:48,342 [http-apr-0.0.0.0-5080-exec-1] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: EOFException: 2021-04-03 05:01:35,728 [http-apr-0.0.0.0-5080-exec-10] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: EOFException: 2021-04-03 05:05:07,894 [http-apr-0.0.0.0-5080-exec-1] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: EOFException: 2021-04-03 05:07:04,815 [http-apr-0.0.0.0-5080-exec-8] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: EOFException: 2021-04-03 05:09:19,413 [http-apr-0.0.0.0-5080-exec-2] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: EOFException: 2021-04-03 05:09:59,654 [http-apr-0.0.0.0-5080-exec-3] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: EOFException: 2021-04-03 05:10:59,654 [http-apr-0.0.0.0-5080-exec-1] ERROR i.a.e.w.WebSocketEnterpriseHandler - Error: EOFException: Link to comment Share on other sites More sharing options...
0 mekya Posted April 3, 2021 Share Posted April 3, 2021 Hi Guys, Thank you for the quick call. It make us understand the problem. You're using the Ant Media Server as a signaling server. In this scenario, video and audio is relayed directly between peers. Video and audio is not relayed through Ant Media Server. In P2P connection establishments, there are some cases that connection cannot be established for security reasons or the structure of the networks. For this case, TURN server can be used. You can install TURN by following this documentation . After you install the TURN server, you can use it as answered in this stackoverflow question. For your convenience, I just started our test turn server. This server is just for testing purposes. I mean it is not a reliable/available turn server. You can test it with the following credentials URI: turn:ovh36.antmedia.io username: ovh36 password: ovh36 Last but not least, you can check if TURN server is working properly by Trickle ICE. TURN servers are also STUN server. In order to make sure that your TURN server can relay audio / video, check that it returns "RTP Relay" as component type in the Tricker ICE test. I hope this answer would help you. Let us know if you have further questions. Regards, A. Oguz Link to comment Share on other sites More sharing options...
0 devops team Posted May 5, 2021 Share Posted May 5, 2021 Hi, As we are facing a new error with our ant & stun server with mobile to web & mobile to mobile. In the application, we are facing some issues, after streaming to disable the video means both the side video streaming stopped.kindly provide the solution for these issues.Below mentioned the methods only used.fun onOffVideo(view: View?) { if (webRTCClient!!.isVideoOn) { webRTCClient!!.disableVideo() } else { webRTCClient!!.enableVideo() }} Kindly check and let me know. Link to comment Share on other sites More sharing options...
0 Burak Posted May 16, 2021 Share Posted May 16, 2021 Hi, Sorry for my late response. Could you please give me more information about your use case? Do you use SDK in Peer to Peer mode? Also I couldn't understand what do you want to do? Please tell me your requirement clearly? Link to comment Share on other sites More sharing options...
Question
NarChar DR24HRS
Link to comment
Share on other sites
Top Posters For This Question
2
1
1
1
Popular Days
Apr 2
2
Apr 3
2
May 5
1
May 16
1
Top Posters For This Question
devops team 2 posts
mekya 1 post
Selim Emre 1 post
NarChar DR24HRS 1 post
Popular Days
Apr 2 2021
2 posts
Apr 3 2021
2 posts
May 5 2021
1 post
May 16 2021
1 post
Posted Images
5 answers to this question
Recommended Posts