MCPcopy Create free account
hub / github.com/cloudflare/meet / toggle

Function toggle

app/components/MicButton.tsx:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 } = useRoomContext()
28
29 const toggle = () => {
30 audioEnabled ? turnMicOff() : turnMicOn()
31 }
32
33 useKey((e) => {
34 if (e.key === 'd' && e.metaKey) {

Callers 1

MicButtonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected