Skip to content

RtkParticipantsAudio

A component which plays all the audio from participants and screenshares.

Properties

PropertyTypeRequiredDefaultDescription
iconPackIconPack❌defaultIconPackIcon pack
meetingMeeting✅-Meeting object
preloadedAudioElemHTMLAudioElement✅-Pass existing audio element
tRtkI18n❌useLanguage()Language

Usage Examples

Basic Usage

import { RtkParticipantsAudio } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return <RtkParticipantsAudio />;
}

With Properties

import { RtkParticipantsAudio } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return (
<RtkParticipantsAudio
meeting={meeting}
preloadedAudioElem={htmlaudioelement}
/>
);
}