This commit is contained in:
@@ -4,12 +4,12 @@ export default defineNuxtPlugin(() => {
|
||||
|
||||
// Connection sounds
|
||||
on('socket:authenticated', ({ socketId }) => {
|
||||
sfx.playRandomConnectionSound(socketId)
|
||||
sfx.playEvent('stream-on')
|
||||
})
|
||||
|
||||
// Client events
|
||||
on('client:added', (client) => {
|
||||
sfx.playRandomConnectionSound(client.socketId)
|
||||
sfx.playEvent('stream-on')
|
||||
})
|
||||
|
||||
on('client:removed', () => {
|
||||
|
||||
Reference in New Issue
Block a user