webrtc-android icon indicating copy to clipboard operation
webrtc-android copied to clipboard

ICE connection state goes from completed to failed in TURN server

Open sourish115 opened this issue 1 year ago • 3 comments

I am using stream-webrtc-android version 1.2.2 in my android project and trying to connect an audio call using my turn server. The connection is initially successful, I get COMPLETED state and audio is being transferred but after 40 seconds, the connection state changes to DISCONNECTED->FAILED. A packet capture of my TURN server showed that after 40 seconds the client sends a binding request and server responds with a binding success response, which I assume is the consent request involved in the Ice connection process. In this case the connection should stay alive because server replied with binding success response but it goes to FAILED state. I have a separate web application as well, which uses the official webRTC library, and I can see that after every 40 second it goes to COMPLETED state after the successful consent requests so this doesn't seem to be a server specific issue. I request you to kindly help me with this problem.

sourish115 avatar Nov 07 '24 12:11 sourish115

Hi @sourish115, the new release, version 1.3.0, is now available and includes the m125 patches. Could you check if this issue still occurs with the updated release?

skydoves avatar Nov 26 '24 06:11 skydoves

Hello @skydoves , thanks for the reply. I will migrate to the new version soon and post an update here.

sourish115 avatar Nov 30 '24 14:11 sourish115

Hello @skydoves , thanks for the reply. I will migrate to the new version soon and post an update here.

This issue is still present in version 1.3.0

sourish115 avatar Dec 03 '24 14:12 sourish115