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 not work and also not display video .
I have user webrtc in my app and server side kurento.
Below list of scenario with status :
We have check candidate generated for all this scenario and found they are same only difference seen is multiple candidate getting generated.
We have crate Turn server as well as Stun but video not display in android client with 3g connection.
Any one have solution then help me out.
Thanks in advance.
You can use WebRTC facilities in the Android Platform with the help of Ant Media Server's Native WebRTC Android SDK. In this blog post, features of Webrtc Android SDK will be presented with a sample Android project which comes bundled with the SDK.
Real-time communication for the web With WebRTC, you can add real-time communication capabilities to your application that works on top of an open standard. It supports video, voice, and generic data to be sent between peers, allowing developers to build powerful voice- and video-communication solutions.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With