The useIsMuted hook is used to implement the TrackMutedIndicator or your custom implementation of it. It returns a boolean that indicates if the track is muted or not.
useIsMuted
TrackMutedIndicator
boolean
const isMuted = useIsMuted(track);
Generated using TypeDoc
The
useIsMuted
hook is used to implement theTrackMutedIndicator
or your custom implementation of it. It returns aboolean
that indicates if the track is muted or not.Example