FEATURE: improved the mediaStore code to disable tracks instead of deleting them
This commit is contained in:
parent
1e20466f74
commit
52fe79df47
6 changed files with 112 additions and 239 deletions
|
@ -712,7 +712,7 @@ export class GameScene extends DirtyScene {
|
|||
});
|
||||
|
||||
// When connection is performed, let's connect SimplePeer
|
||||
this.simplePeer = new SimplePeer(this.connection, !this.room.isPublic, this.playerName);
|
||||
this.simplePeer = new SimplePeer(this.connection);
|
||||
peerStore.connectToSimplePeer(this.simplePeer);
|
||||
screenSharingPeerStore.connectToSimplePeer(this.simplePeer);
|
||||
videoFocusStore.connectToSimplePeer(this.simplePeer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue