LiveKit LogoDocs
Real-timeEgress/IngressCloudReference

AudioTrack

The AudioTrack component is responsible for rendering participant audio tracks. This component must have access to the participant's context, or alternatively pass it a Participant as a property.

Import

import { AudioTrack } from '@livekit/components-react';

Usage

<ParticipantTile>
<AudioTrack source={Track.Source.Microphone} />
</ParticipantTile>

Properties

#
sourceTrack.Source

#
name?string

(Optional)

#
onSubscriptionStatusChanged?(subscribed: boolean) => void

(Optional)

#
participant?Participant

(Optional)

#
publication?TrackPublication

(Optional)

#
volume?number

(Optional) by the default the range is between 0 and 1

On this page

ImportUsageProperties

Previous

Chevron IconAudioConference
LiveKit logo

Product

SFU

SDKs

Performance

Deployment

GitHub Logo