We should use our own server by default, not the external one from Google.

Signed-off-by: Joachim Bauch <mail@joachim-bauch.de>
This commit is contained in:
Joachim Bauch 2016-11-15 17:15:37 +01:00
Родитель c48d740024
Коммит a1edcb9f4c
Не удалось извлечь подпись
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -31,7 +31,7 @@ class Util {
* @return string
*/
public static function getStunServer(IConfig $config) {
return $config->getAppValue('spreed', 'stun_server', 'stun.l.google.com:19302');
return $config->getAppValue('spreed', 'stun_server', 'stun.nextcloud.com:443');
}
/**

Просмотреть файл

@ -38,7 +38,7 @@ class UtilTest extends TestCase {
$config
->expects($this->once())
->method('getAppValue')
->with('spreed', 'stun_server', 'stun.l.google.com:19302')
->with('spreed', 'stun_server', 'stun.nextcloud.com:443')
->willReturn('88.198.160.129');
$this->assertSame('88.198.160.129', $this->util->getStunServer($config));