test publish
Some checks failed
Deploy / deploy (push) Has been cancelled
Deploy / publish-web (push) Successful in 1m43s
Deploy / publish-tauri (push) Has been cancelled

This commit is contained in:
2025-12-22 19:23:06 +06:00
parent e3d0106d8f
commit 76f0ec74b5
27 changed files with 2123 additions and 1344 deletions

View File

@@ -15,7 +15,7 @@
</div>
</div>
<PrimeBadge v-if="client.inputMuted" severity="info" value="Muted" />
<PrimeBadge v-if="audioConsumerPaused" severity="info" value="Muted" />
<PrimeBadge v-if="isMe" severity="secondary" value="You" />
<template v-if="!isMe">
@@ -70,11 +70,23 @@ const isMe = computed(() => {
})
const audioConsumer = computed(() => {
const consumers = getClientConsumers(props.client.id)
if (isMe.value)
return undefined
const consumers = getClientConsumers(props.client.socketId)
return consumers.find(consumer => consumer.track.kind === 'audio')
})
const audioConsumerPaused = computed(() => {
if (isMe.value)
return false
const consumers = getClientConsumers(props.client.socketId)
return consumers.find(consumer => consumer.track.kind === 'audio')?.paused
})
const audioTrack = computed(() => {
return audioConsumer.value?.track
})