TrackToggle
With the TrackToggle component it is possible to mute and unmute your camera and microphone. The component uses an html button element under the hood so you can treat it like a button.
Import
import { TrackToggle } from '@livekit/components-react';
Usage
<LiveKitRoom><TrackToggle source={Track.Source.Microphone} /><TrackToggle source={Track.Source.Camera} /></LiveKitRoom>
Properties
(Optional)
(Optional)
(Optional)
(Optional)