Skip to content

Commit

Permalink
perf(turn): lower TURN-latency due to more local servers
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgloning committed Apr 27, 2022
1 parent aae9d1f commit a412ea4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@ const DEFAULT_CONFIG = {
iceServers: [
{ urls: "stun:stun.l.google.com:19302" },
{
urls: "turn:0.peerjs.com:3478",
urls: [
"turn:eu-0.turn.peerjs.com:3478",
"turn:eu-1.turn.peerjs.com:3478",
],
username: "peerjs",
credential: "peerjsp",
},
{
urls: [
"turn:us-0.turn.peerjs.com:3478",
"turn:us-1.turn.peerjs.com:3478",
],
username: "peerjs",
credential: "peerjsp",
},
Expand Down

0 comments on commit a412ea4

Please sign in to comment.