screen sharing
All checks were successful
Deploy / publish-web (push) Successful in 48s

This commit is contained in:
2025-12-26 18:22:22 +06:00
parent 4d5db12e1b
commit 47a464f08f
9 changed files with 254 additions and 135 deletions

View File

@@ -20,6 +20,12 @@
</template>
</PrimeButton>
</PrimeButtonGroup>
<PrimeButton outlined @click="toggleShare">
<template #icon>
<Component :is="sharingEnabled ? ScreenShareOff : ScreenShare" />
</template>
</PrimeButton>
</div>
<div
@@ -53,9 +59,19 @@
</template>
<script setup lang="ts">
import { MessageCircle, Mic, MicOff, Settings, UserPen, Volume2, VolumeOff } from 'lucide-vue-next'
import {
MessageCircle,
Mic,
MicOff,
ScreenShare,
ScreenShareOff,
Settings,
UserPen,
Volume2,
VolumeOff,
} from 'lucide-vue-next'
const { clients, inputMuted, toggleInput, outputMuted, toggleOutput, version, isTauri } = useApp()
const { clients, inputMuted, toggleInput, outputMuted, toggleOutput, version, isTauri, sharingEnabled, toggleShare } = useApp()
const { connect, connected } = useSignaling()
interface Tab {