A component which plays all the audio from participants and screenshares.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
iconPack |
IconPack |
❌ | defaultIconPack |
Icon pack |
meeting |
Meeting |
✅ | - | Meeting object |
preloadedAudioElem |
HTMLAudioElement |
✅ | - | Pass existing audio element |
t |
RtkI18n |
❌ | useLanguage() |
Language |
import { RtkParticipantsAudio } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return <RtkParticipantsAudio />;
}import { RtkParticipantsAudio } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return (
<RtkParticipantsAudio
meeting={meeting}
preloadedAudioElem={htmlaudioelement}
/>
);
}