mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-12 02:11:57 +00:00
fix: fix cam/mic init in love
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
3f0a2f214a
commit
19f8f1823f
@ -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
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user