Hi,
I've been playing around for a while with the Android native library and still haven't managed to get something "releasable" to the public.
I've mainly 2 concerns:
1. Which version is stable?
First of all, I observed VERY different results using different releases of the pre-compiled libraries.
http://mvnrepository.com/artifact/io.pristine/libjingleAfter trying and retrying, I found that the 9702 release seemed to be the best one... Quite surprising, considering the latest precompiled binary is
11139...From my experience, going any further than this, causes major pain in stability.
2. STUN Behaviour.
I am unable to make it work on all network setups without the usage of TURN.
Let me clarify: using TURN it works, but if you pretend to use just STUN it doesn't.
I've tried and retried and it seems a problem of the inner implementation rather than STUN/TURN configuration. This is also confirmed by the latest AppRTCDemo
Network A - Network A: works
Network B - Network B: works
Network A - Network B: doesn't work
Network B - Network A: doesn't work
Network A - Internet Address: worksInternet Address - Network A: doesn't work
Network B - Internet Address: worksInternet Address - Network B: doesn't work
That would made sense if one of those Networks had problems contacting the STUN Server (which in fact is
stun.l.google.com at 19302) but using
https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ you can see the STUN server doing its job from both sides (translating IPs)...
I am a bit lost...
As I said, having a TURN server solves the problem... but you don't want to re-route ALL your traffic.
Any ideas?