Jump to content
  • 0

Network to network connection not establishing


NarChar DR24HRS
 Share

Question

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0
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:

Link to comment
Share on other sites

  • 0

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

 

 

1961928515_ScreenShot2021-04-03at09_18_31.thumb.png.a4343a4c774da0d85bee9fbb10c107ce.png

Link to comment
Share on other sites

  • 0
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

  • 0

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

 Share

×
×
  • Create New...