Default to Google's STUN server also when Media NAT Traversal protocol is ICE
This commit is contained in:
@ -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("")
|
||||
|
||||
@ -131,9 +131,9 @@
|
||||
</string>
|
||||
<string name="stun_server">STUN/TURN-palvelin</string>
|
||||
<string name="stun_server_help">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.
|
||||
</string>
|
||||
<string name="stun_server_uri">STUN/TURN-palvelimen URI</string>
|
||||
<string name="invalid_stun_server">Virheellinen STUN/TURN-palvelimen URI \'%1$s\'</string>
|
||||
|
||||
@ -126,9 +126,9 @@
|
||||
</string>
|
||||
<string name="stun_server">STUN/TURN Server</string>
|
||||
<string name="stun_server_help">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.
|
||||
</string>
|
||||
<string name="stun_server_uri">STUN/TURN Server URI</string>
|
||||
<string name="invalid_stun_server">Invalid STUN/TURN Server URI \'%1$s\'</string>
|
||||
|
||||
Reference in New Issue
Block a user