Skip to content

RtkParticipantsAudio

Last updated View as Markdown Agent setup

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

Properties

Property Type Required Default Description
iconPack IconPack defaultIconPack Icon pack
meeting Meeting - Meeting object
preloadedAudioElem HTMLAudioElement - Pass existing audio element
t RtkI18n 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}
    />
  );
}

Was this helpful?