fix: fix cam/mic init in love

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2025-05-06 16:34:59 +07:00
parent 3f0a2f214a
commit 19f8f1823f
No known key found for this signature in database
GPG Key ID: 3320C3B3324E934C

View File

@ -436,8 +436,8 @@ lk.on(RoomEvent.Connected, () => {
const session = useMedia({
state: {
camera: { enabled: false },
microphone: current?.type === RoomType.Video ? { enabled: false } : undefined
camera: current?.type === RoomType.Video ? { enabled: false } : undefined,
microphone: { enabled: false }
},
autoDestroy: false
})