From 9fc8f954e35fc53b403e8593aa12d6c09f95ca61 Mon Sep 17 00:00:00 2001 From: opti1337 Date: Thu, 29 Jan 2026 23:18:47 +0600 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D1=8B=D0=B9-=D1=81=D1=82?= =?UTF-8?q?=D0=B0=D1=80=D1=8B=D0=B9=20clientrow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/app/components/ClientRow.vue | 43 ++++++++++++++++--------- client/app/composables/use-mediasoup.ts | 2 +- client/app/layouts/default.vue | 2 +- 3 files changed, 29 insertions(+), 18 deletions(-) diff --git a/client/app/components/ClientRow.vue b/client/app/components/ClientRow.vue index f7c5f4c..174031b 100644 --- a/client/app/components/ClientRow.vue +++ b/client/app/components/ClientRow.vue @@ -6,23 +6,28 @@ 'bg-surface-800': expanded, }" > -
- - - +
+
+ + + -
- {{ client.displayName || client.username }} +

+ {{ client.displayName || client.username }} +

+ +
-
+
@@ -31,8 +36,6 @@
- -
@@ -112,6 +115,14 @@ const inputMuted = computed(() => { return premuted.value || audioConsumerPaused.value }) +const hasBadges = computed(() => { + return !!shareConsumer.value + || premuted.value + || inputMuted.value + || props.client.outputMuted + || isMe.value +}) + watch(allConsumers, () => { audioConsumerPaused.value = audioConsumer.value?.paused ?? false }) diff --git a/client/app/composables/use-mediasoup.ts b/client/app/composables/use-mediasoup.ts index 8314ee9..6e3ac3d 100644 --- a/client/app/composables/use-mediasoup.ts +++ b/client/app/composables/use-mediasoup.ts @@ -335,7 +335,7 @@ export const useMediasoup = createSharedComposable(() => { await enableProducer('share', { track, codec: device.value.rtpCapabilities.codecs?.find( - c => c.mimeType.toLowerCase() === 'video/h264', + c => c.mimeType.toLowerCase() === 'video/AV1', ), codecOptions: { videoGoogleStartBitrate: 1000, diff --git a/client/app/layouts/default.vue b/client/app/layouts/default.vue index bdf9e33..be52c2e 100644 --- a/client/app/layouts/default.vue +++ b/client/app/layouts/default.vue @@ -1,5 +1,5 @@