показывать себя в превью
All checks were successful
Deploy / publish-web (push) Successful in 41s

This commit is contained in:
2026-02-03 16:54:51 +06:00
parent 1354ca3f7e
commit e5f1e6bbb3
4 changed files with 7 additions and 14 deletions

View File

@@ -40,7 +40,10 @@ export const useApp = createGlobalState(() => {
})
const somebodyStreamingVideo = computed(() => {
return mediasoup.videoConsumers.value.length > 0 || mediasoup.shareConsumers.value.length > 0
return !!mediasoup.videoProducer.value
|| !!mediasoup.shareProducer.value
|| mediasoup.videoConsumers.value.length > 0
|| mediasoup.shareConsumers.value.length > 0
})
async function muteInput() {