cringe sfx
This commit is contained in:
@@ -203,7 +203,7 @@ export const useMediasoup = createSharedComposable(() => {
|
||||
})
|
||||
|
||||
if (kind === 'video')
|
||||
sfx.play('/sfx/on_trans.ogg', 0.03).then()
|
||||
sfx.playEvent('stream-on').then()
|
||||
|
||||
if (producerPaused)
|
||||
consumer.pause()
|
||||
@@ -225,7 +225,7 @@ export const useMediasoup = createSharedComposable(() => {
|
||||
|
||||
consumer.observer.on('close', () => {
|
||||
if (kind === 'video')
|
||||
sfx.play('/sfx/off_trans.ogg', 0.03).then()
|
||||
sfx.playEvent('stream-off').then()
|
||||
|
||||
delete consumers.value[consumer.id]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user