You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am able to setup the server in a digital ocean droplet and i am able to make calls through android app using this "https://github.com/Piasy/AppRTC-Android" android code.
But if 2 android devices are connected to same wifi the call is getting established..
But when am under NAT (Mobile Network) , then am getting an error "ice connection failed" ..
I am aware that we have to install our own Turn server and configure it.
So i have installed Coturn in another digital ocean droplet with username and password.
And i have tested the coturn server too using this link "https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/".
But the problem is am not getting where to configure this particular turn server in the "MidEndProject/node-apprtc" code
Please help me where should i write my turn server username , url and password credentials in this code.
Please let me know the file name in this repo , where i should configure.
Hi,
Thank you Fitra Aditya for your valuable response and solution
Now I have replaced with my own turn servers .. and collider too..
Am able to setup calls between two physical android devices now..
But having problem with maintaining ice Connection
After random amount of time ..The call gets disconnected with error Message "ice Disconnected" error
I blve that this is due to poor Internet connection Quality..
So do u have any work around to maintain the call without getting disconnected.
It would be helpful if i can get commercial support from u on this issue..
Waiting for ur reply..If i can contact you.
I think poor internet connection quality is the main issue of building webrtc application, and i also facing same problem.
Based on my experience, i can give some solutions:
Implement reconnection feature. If you get "Ice Disconnected" and websocket (signaling) connections hasn't disconnected, try to restart peer connection.
Activity
fitraditya commentedon Aug 21, 2018
Hi,
This application use TURN API to get TURN url and credential. If you want to use your own STUN/TURN server, you can modify this part https://github.com/MidEndProject/node-apprtc/blob/master/controller/index.js#L20.
sandeeptaz commentedon Aug 24, 2018
Hi,
Thank you Fitra Aditya for your valuable response and solution
Now I have replaced with my own turn servers .. and collider too..
Am able to setup calls between two physical android devices now..
But having problem with maintaining ice Connection
After random amount of time ..The call gets disconnected with error Message "ice Disconnected" error
I blve that this is due to poor Internet connection Quality..
So do u have any work around to maintain the call without getting disconnected.
It would be helpful if i can get commercial support from u on this issue..
Waiting for ur reply..If i can contact you.
Thank you
fitraditya commentedon Aug 24, 2018
Awesome!
I think poor internet connection quality is the main issue of building webrtc application, and i also facing same problem.
Based on my experience, i can give some solutions:
Hope it will help.
sandeeptaz commentedon Aug 26, 2018
Thank you for your suggestions.
Will try them out..
memishood commentedon Sep 13, 2018
hello sandeeptaz,
Could you share your apprtc node server ? i tried change turn server but it didn't work for me. Thx.
sandeeptaz commentedon Oct 6, 2018
@memishood
You have ur own turn server or u r using public Turn Server?