Network to network connection not establishing

215 views
Skip to first unread message

NarChar DR24HRS

unread,
Apr 2, 2021, 12:51:29 AM4/2/21
to Ant Media Server
We are testing the ant media cloud service in our website, but we are experiencing connection issues across different networks.
please advice...

Selim Emre

unread,
Apr 2, 2021, 10:20:45 AM4/2/21
to Ant Media Server
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

devops team

unread,
Apr 3, 2021, 1:14:05 AM4/3/21
to Ant Media Server
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: 2b9
2021-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: 2b8
2021-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:

ahmet oguz mermerkaya

unread,
Apr 3, 2021, 2:21:13 AM4/3/21
to Ant Media Server
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
Screen Shot 2021-04-03 at 09.18.31.png

devops team

unread,
May 5, 2021, 8:57:48 AM5/5/21
to ahmet oguz mermerkaya, Ant Media Server
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.



--
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/a5177a6b-824b-47d8-b002-0373410106f0n%40googlegroups.com.

burak

unread,
May 16, 2021, 4:42:43 PM5/16/21
to Ant Media Server
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?

5 Mayıs 2021 Çarşamba tarihinde saat 15:57:48 UTC+3 itibarıyla team.d...@gmail.com şunları yazdı:
Reply all
Reply to author
Forward
0 new messages