This message was deleted.
# helpdesk
s
This message was deleted.
p
hi! you can just call
await room.localParticipant.setCameraEnabled(false);
to disable the camera
❤️ 1
w
thanks for response @polite-kilobyte-67570, and is there any way to know that a participant has disabled the camera?
p
sure, have a look at the react example here https://docs.livekit.io/guides/room/events/#declarative-ui additionally there’s also
localParticipant.isCameraEnabled
❤️ 1