njovy / AppRTCDemo

Android AppRTC Demo of WebRTC project
534 stars 266 forks source link

Issue regarding ice disconnected #69

Open sandeeptaz opened 6 years ago

sandeeptaz commented 6 years ago

Hi , Issue regarding ice disconnected

I am facing a problem in maintaining the video connection I have setup my own Collider, Turn Servers and , node js apprtc server in my digital ocean droplet. All the above servers are working just fine But in my android code after random amount of time the video call disconnects automatically, with error message as "ice disconnected" I understand this is due to poor internet connection So i need help to maintain the video call even if there is poor internet connection or If the call gets disconnected , I want to re connect the call . Please help me on this Thanks in advance

tafhyseni commented 5 years ago

Hello @sandeeptaz , I am facing the same problem in my project.. I have setup my own Collider, Turn Servers and AppRTC project aswell and they work perfectly..

Just our video calls disconnects after some amount of time..

What solution have you made?

ArjunBhilare commented 3 years ago

@tafhyseni @sandeeptaz I'm new to AppRTC. I have set up the AppRTC project. Could you please help me with how do I set up Turn Servers? I'm building a video chat app on Android Studio.

ArjunBhilare commented 3 years ago

I'm currently getting ICE Connection Failed (When devices are on different internet connections). I have currently not set up my own Turn Server

tafhyseni commented 3 years ago

I'm currently getting ICE Connection Failed (When devices are on different internet connections). I have currently not set up my own Turn Server

You have to setup your own Turn Server. Turn Server is expensive and you cannot rely in an unknown Turn Server since it might be turned off and your application will stop working. Once you set up your own Turn Server, you must update the ICE Connection values and you won't have any more problems.