Skip to content

RtkSpeakerSelector

Last updated View as MarkdownAgent setup

A component which lets to manage your audio devices and audio preferences. Emits rtkStateUpdate event with data for muting notification sounds:

{
 prefs: {
   muteNotificationSounds: boolean
 }
}

Properties

Property Type Required Default Description
iconPack IconPack defaultIconPack Icon pack
meeting Meeting - Meeting object
size Size - Size
states States - States object
t RtkI18n useLanguage() Language
variant 'full' | 'inline' - variant

Usage Examples

Basic Usage

import { RtkSpeakerSelector } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return <RtkSpeakerSelector />;
}

With Properties

import { RtkSpeakerSelector } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return (
    <RtkSpeakerSelector
      meeting={meeting}
      size="md"
      variant={'full' | 'inline'}
    />
  );
}

Was this helpful?