steal peerjs turn servers for testing
This commit is contained in:
parent
c05f66c96e
commit
c76027bb84
|
@ -176,9 +176,18 @@ export class Peer {
|
|||
this.connection = new RTCPeerConnection({
|
||||
iceServers: [
|
||||
{
|
||||
urls: ["stun:stun.l.google.com:19302"],
|
||||
urls: [
|
||||
"stun:stun.l.google.com:19302",
|
||||
],
|
||||
}, {
|
||||
urls: [
|
||||
"turn:eu-0.turn.peerjs.com:3478",
|
||||
"turn:us-0.turn.peerjs.com:3478",
|
||||
],
|
||||
username: "peerjs",
|
||||
credential: "peerjsp",
|
||||
}
|
||||
]
|
||||
],
|
||||
});
|
||||
this.targetPlayerName = writable("");
|
||||
this.targetPlayer = derived([this.targetPlayerName, this.client.playersByName], ([playerName, players]) => players[playerName]);
|
||||
|
|
Loading…
Reference in a new issue