mirror of
https://api.glitch.com/git/yaswvc
synced 2026-01-12 05:08:11 +00:00
🐕🍗 Checkpoint
./public/main.js:5975361/250
This commit is contained in:
parent
7051447050
commit
0756b8f05a
1 changed files with 4 additions and 2 deletions
|
|
@ -216,8 +216,10 @@ var app = new Vue({
|
||||||
// target.addTrack(track);
|
// target.addTrack(track);
|
||||||
// });
|
// });
|
||||||
const callPeerId = call.peer;
|
const callPeerId = call.peer;
|
||||||
call.close();
|
console.log('CONNECTIONS', this.connections)
|
||||||
|
const conns = this.connections.filter(c => c.peer === call.peer);
|
||||||
|
conns.forEach(c => c.close())
|
||||||
|
this.connectToPeer(callPeerId);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.stream = stream; // make stream available to console
|
this.stream = stream; // make stream available to console
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue