Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/meet
/ toggle
Function
toggle
app/components/CameraButton.tsx:24–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
} = useRoomContext()
23
24
const toggle = () => {
25
videoEnabled ? turnCameraOff() : turnCameraOn()
26
}
27
28
useKey((e) => {
29
if (e.key ===
'e'
&& e.metaKey) {
Callers
1
CameraButton
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected