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

@@ -58,15 +58,15 @@ const volume = useLocalStorage<number>(computed(() => `CLIENT_VOLUME_${props.cli
const menuRef = useTemplateRef<HTMLAudioElement>('menu')
const menuItems: MenuItem[] = [
{
label: 'Mute',
icon: 'pi pi-headphones',
},
{
label: 'DM',
icon: 'pi pi-comment',
disabled: true,
},
// {
// label: 'Mute',
// icon: 'pi pi-headphones',
// },
// {
// label: 'DM',
// icon: 'pi pi-comment',
// disabled: true,
// },
]
const isMe = computed(() => {
@@ -98,10 +98,7 @@ const audioTrack = computed(() => {
const { setGain } = useAudioContext(audioTrack)
watch(volume, (volume) => {
if (outputMuted.value)
return
setGain(volume * 0.01)
setGain(outputMuted.value ? 0 : (volume * 0.01))
}, { immediate: true })
watch(outputMuted, (outputMuted) => {