Files
chad/client/app/components/FullscreenGallery.vue
opti1337 269b19a5be
All checks were successful
Deploy / publish-web (push) Successful in 1m16s
вебкамера там, туда-сюда
2026-02-02 14:39:16 +06:00

21 lines
433 B
Vue

<template>
<Teleport to="body">
<div ref="root" class="fullscreen-gallery">
{{ videoConsumers.length + shareConsumers.length }}
</div>
</Teleport>
</template>
<script setup lang="ts">
import { useFullscreen } from '@vueuse/core'
const rootRef = useTemplateRef('root')
const { enter } = useFullscreen(rootRef)
const { videoConsumers, shareConsumers } = useMediasoup()
onMounted(() => {
// enter()
})
</script>