Skip to content
Cloudflare Docs

RtkParticipantsAudio

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

Properties

PropertyTypeRequiredDefaultDescription
iconPackIconPackdefaultIconPackIcon pack
meetingMeeting-Meeting object
preloadedAudioElemHTMLAudioElement-Pass existing audio element
tRtkI18nuseLanguage()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}
/>
);
}