-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add default STUN servers to WebRTC transport (#2606)
To make it easier to connect to remote nodes, add default STUN servers to the WebRTC transport.
- Loading branch information
1 parent
21cf7bc
commit af85a7c
Showing
4 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* STUN servers help clients discover their own public IPs | ||
* | ||
* @see https://gist.github.com/mondain/b0ec1cf5f60ae726202e | ||
*/ | ||
export const DEFAULT_ICE_SERVERS = [ | ||
'stun:stun.l.google.com:19302', | ||
'stun:stun1.l.google.com:19302', | ||
'stun:stun2.l.google.com:19302', | ||
'stun:stun3.l.google.com:19302', | ||
'stun:stun4.l.google.com:19302', | ||
'stun:global.stun.twilio.com:3478', | ||
'stun:stun.cloudflare.com:3478', | ||
'stun:stun.services.mozilla.com:3478', | ||
'stun:stun.1und1.de:3478' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters