Skip to content

Commit

Permalink
perf(turn): reduce turn server count
Browse files Browse the repository at this point in the history
This may reduce the time to connect, since on some browsers every address is tried before establishing a connection.
  • Loading branch information
jonasgloning committed May 25, 2022
1 parent f879e2c commit 8816f54
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@ const DEFAULT_CONFIG = {
{
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 8816f54

Please sign in to comment.