pchab / AndroidRTC

Android client for ProjectRTC - a WebRTC demo
Other
1.59k stars 574 forks source link

Not working with Mobile data #58

Open saeednt opened 9 years ago

saeednt commented 9 years ago

I've been trying to use it with Mobile data but I failed. It works just fine with Wifi but not with mobile data. What should i do? I found a class Options which has a networdIgnoreMask integer but I don't know what it does... Is it even relevant? Please help me.

VAdaihiep commented 9 years ago

Maybe same issue: https://github.com/pchab/AndroidRTC/issues/46

I think it works fine with Wifi because your server and your Android phone in same LAN network. Please make sure that your server have static IP address to works with Mobile data (3G, 4G).

saeednt commented 9 years ago

The server has a static IP and my android phones which are communicating and the server are all in different networks. I don't think that's the problem.

avpatankar commented 8 years ago

Hi,

Have you been able to get this working? I am not still finding the solution as to how to support 3G / cellular connectivity

saeednt commented 8 years ago

Hi. I had been trying for over 3 months but could not find the solution and cancelled the project. If you found the solution in the future I would be glad to know it...

BackPackerDz commented 8 years ago

Any solution ?

minhdl93 commented 8 years ago

I am facing the same problem here, app not work over 3g :(

noblegeorge commented 7 years ago

You're having issues because your implementation doesn't have a TURN server in it. UDP connections won't generally happen over Mobile Data and you need a TURN server running to relay it through.

alexruskovski commented 7 years ago

Hi @noblegeorge can you post a code where we can connect a TURN server?