A component which lets to manage your audio devices and audio preferences.
Emits rtkStateUpdate event with data for muting notification sounds:
{
prefs: {
muteNotificationSounds: boolean
}
}| 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 |
import { RtkSpeakerSelector } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return <RtkSpeakerSelector />;
}import { RtkSpeakerSelector } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return (
<RtkSpeakerSelector
meeting={meeting}
size="md"
variant={'full' | 'inline'}
/>
);
}