GitHub

Source

TrackMutedIndicator

The TrackMutedIndicator shows whether the participant's camera or microphone is muted or not. By default, a muted/unmuted icon is displayed for a camera, microphone, and screen sharing track.

Import

import { TrackMutedIndicator } from "@livekit/components-react";

Usage

<TrackMutedIndicator source={Track.Source.Camera} />
<TrackMutedIndicator source={Track.Source.Microphone} />

Properties

show?'always' | 'muted' | 'unmuted'

(Optional)

trackRef?TrackReferenceOrPlaceholder

(Optional)

deprecatedparticipant?Participant

(Optional)

caution:

This parameter will be removed in a future version use trackRef instead.

deprecatedsource?Track.Source

(Optional)

caution:

This parameter will be removed in a future version use trackRef instead.