Skip to content
Cloudflare Docs

RtkMicrophoneSelector

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

TypeScript
{
prefs: {
muteNotificationSounds: boolean
}
}

Properties

PropertyTypeRequiredDefaultDescription
iconPackIconPackdefaultIconPackIcon pack
meetingMeeting-Meeting object
sizeSize-Size
tRtkI18nuseLanguage()Language
variant'full' | 'inline'-variant

Usage Examples

Basic Usage

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

With Properties

import { RtkMicrophoneSelector } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return (
<RtkMicrophoneSelector
meeting={meeting}
size="md"
variant={'full' | 'inline'}
/>
);
}