fix ICE enablement. It was enabling ICE without enabling STUN, resulting in reflexive connection being impossible.
This commit is contained in:
parent
36915dc99a
commit
ee32ce38e7
2 changed files with 4 additions and 2 deletions
|
@ -589,7 +589,9 @@ public class LinphonePreferences {
|
||||||
try {
|
try {
|
||||||
LinphoneProxyConfig prxCfg = getProxyConfig(n);
|
LinphoneProxyConfig prxCfg = getProxyConfig(n);
|
||||||
prxCfg.edit();
|
prxCfg.edit();
|
||||||
prxCfg.getNatPolicy().setStunServer(stun);
|
LinphoneNatPolicy np = prxCfg.getNatPolicy();
|
||||||
|
np.setStunServer(stun);
|
||||||
|
np.enableStun(stun!=null);
|
||||||
prxCfg.done();
|
prxCfg.done();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.e(e);
|
Log.e(e);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit ad493beca7a6a537629e2fb66e67d2f52c8c433f
|
Subproject commit e095830bb6a6dda714f2ca9889888e2132659f91
|
Loading…
Reference in a new issue