Skip to content

Commit

Permalink
Merge pull request #88 from nextcloud/default_stun_server
Browse files Browse the repository at this point in the history
Change default STUN server (#86)
  • Loading branch information
nickvergessen authored Nov 16, 2016
2 parents 7a743fe + a1edcb9 commit 7444b18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/php/UtilTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function testGetStunServer() {
$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));
Expand Down

0 comments on commit 7444b18

Please sign in to comment.