Improving naming
This commit is contained in:
parent
77a4d23301
commit
a08f6a33ac
13 changed files with 46 additions and 50 deletions
|
@ -24,14 +24,12 @@ function createPeerStore() {
|
|||
return users;
|
||||
});
|
||||
}
|
||||
console.log('CONNECT VIDEO', peers);
|
||||
},
|
||||
onDisconnect(userId: number) {
|
||||
update(users => {
|
||||
users.delete(userId);
|
||||
return users;
|
||||
});
|
||||
console.log('DISCONNECT VIDEO', peers);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue