mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed STUN being disabled if we disable ICE
This commit is contained in:
parent
c03a30d8a9
commit
badc6034c4
1 changed files with 1 additions and 1 deletions
|
|
@ -592,7 +592,7 @@ public class LinphonePreferences {
|
|||
if (getLc() == null) return;
|
||||
NatPolicy nat = getOrCreateNatPolicy();
|
||||
nat.enableIce(enabled);
|
||||
nat.enableStun(enabled);
|
||||
if (enabled) nat.enableStun(true);
|
||||
getLc().setNatPolicy(nat);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue