diff --git a/app/src/main/kotlin/com/tutpro/baresip/AccountActivity.kt b/app/src/main/kotlin/com/tutpro/baresip/AccountActivity.kt index 080c217e..12c7125b 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/AccountActivity.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/AccountActivity.kt @@ -100,6 +100,8 @@ class AccountActivity : AppCompatActivity() { else if ((mediaNat == "stun") && (stunServer.text.startsWith("turn") || (stunServer.text.toString() == ""))) stunServer.setText(resources.getString(R.string.stun_server_default)) + else if ((mediaNat == "ice") && (stunServer.text.toString() == "")) + stunServer.setText(resources.getString(R.string.stun_server_default)) else if (mediaNat == "") { stunServer.setText("") stunUser.setText("") diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index d3d5268c..1db6674c 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -131,9 +131,9 @@ STUN/TURN-palvelin STUN/TURN-palvelimen muotoa \'kaava:palvelin[:portti]\' - oleva URI, missä kaava on \'stun\', \'stuns\', \'turn\' tai \'turns\'. STUN-palvelimen - oletusarvo \'stun:stun.l.google.com:19302\', joka osoittaa Google:n julkiseen STUN-palvelimeen. - TURN-palvelimella ei ole oletusarvoa. + oleva URI, missä kaava on \'stun\', \'stuns\', \'turn\' tai \'turns\'. Oletus STUN-palvelin + STUN ja ICE protokollille on \'stun:stun.l.google.com:19302\', joka osoittaa Google:n + julkiseen STUN-palvelimeen. TURN-palvelimella ei ole oletusarvoa. STUN/TURN-palvelimen URI Virheellinen STUN/TURN-palvelimen URI \'%1$s\' diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 70d01214..f73b0f26 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -126,9 +126,9 @@ STUN/TURN Server A STUN/TURN Server URI of form scheme:host[:port], where scheme - is \'stun\', \'stuns\', \'turn\', or \'turns\'. Factory default STUN server is - \'stun:stun.l.google.com:19302\', pointing to public Google STUN server. There is no - factory default TURN server. + is \'stun\', \'stuns\', \'turn\', or \'turns\'. Factory default STUN Server for STUN and + ICE protocols is \'stun:stun.l.google.com:19302\' pointing to public Google STUN server. + There is no factory default TURN server. STUN/TURN Server URI Invalid STUN/TURN Server URI \'%1$s\'