Video Syncronization Prototyping Complete.
This commit is contained in:
parent
0b68db1265
commit
6dc9ad7b34
10 changed files with 286 additions and 20 deletions
|
|
@ -35,16 +35,19 @@ module.exports = class{
|
|||
|
||||
async handleConnection(userDB, chanDB, socket){
|
||||
//send metadata to client
|
||||
await this.sendClientMetadata();
|
||||
this.sendClientMetadata();
|
||||
|
||||
//Send out emotes
|
||||
await this.sendSiteEmotes();
|
||||
await this.sendChanEmotes(chanDB);
|
||||
await this.sendPersonalEmotes(userDB);
|
||||
this.sendSiteEmotes();
|
||||
this.sendChanEmotes(chanDB);
|
||||
this.sendPersonalEmotes(userDB);
|
||||
|
||||
//Send out used tokes
|
||||
await this.sendUsedTokes(userDB);
|
||||
this.sendUsedTokes(userDB);
|
||||
|
||||
//Send out the currently playing item
|
||||
this.channel.queue.sendQueue(socket);
|
||||
|
||||
//Tattoo hashed IP address to user account for seven days
|
||||
await userDB.tattooIPRecord(socket.handshake.address);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue