<DailyAudioTrack sessionId={sessionId} />
Use this component to compose a custom audio arrangement in a Daily call.
Props
The participant’s
session_id for which the audio track should be played.Callback when an
<audio> tag fails to play().The participant’s track type to play.
Data attributes
DailyAudioTrack renders a couple of dynamic data attributes:
| Attribute | Description |
|---|---|
data-session-id | Contains the corresponding sessionId |
data-audio-type | Contains the corresponding type |