mysterious-teacher-37099
08/29/2025, 4:45 PMtall-airline-16756
08/29/2025, 4:45 PMtall-airline-16756
08/29/2025, 4:46 PMsetMicrophoneEnabled method. Just pass in a true or false to switch the mic on or off. And if you want to check whether your mic is currently on, you can peek at the isMicrophoneEnabled property.
That said, there isn’t a built-in way in the JavaScript client SDK to mute or unmute everyone in the room all at once. Audio controls are managed individually for each participant. If you’re looking to control audio for the whole room, you’d need to look into server-side settings or LiveKit Agents to help out with that.
Sources: examples/demo/demo.ts | Text and transcriptions | LiveKit Docs | docs/interfaces/LiveKitRoomProps.html