diff --git a/main.js b/main.js index 990e608..18ad3a3 100644 --- a/main.js +++ b/main.js @@ -50,7 +50,14 @@ const app = createApp({ initPeer() { this.peer = new Peer({ config: { - iceServers: [{ urls: ["stun:stun.l.google.com:19302"] }], + iceServers: [ + { urls: "stun:stun.l.google.com:19302" }, + { + urls: [`turn:127.0.0.1:3478`, `turns:127.0.0.1:5349`], + username: "user", + credential: "pass", + }, + ], }, }); this.peer.on("open", this.peerOpen);