Skip to content Skip to sidebar Skip to footer

Android Webrtc Not Working With 3g, 4g

In android application i have user webrtc for video calling app. If mobile is connected with wifi then app work perfectly. When i change wifi to mobile data and start app then app

Solution 1:

Theoretically the network type shouldn't influence if WebRTC works or not.

But, there are other factors influencing this. First of all if both devices are connected into the same Wi-fi network, then you don't need a TURN server. If connected through mobile data, this could not be the case, so you should have a STUN/TURN server configured. To test the server you can use https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/.

Secondly, the network quality could influence the connection. You should do a network speed test and remember that latency and jitter is even more important than download/upload speed. You could disable video and test only with audio which eats fewer bandwidth.

Post a Comment for "Android Webrtc Not Working With 3g, 4g"