オーディオデバイスとオーディオ設定を管理するコンポーネントです。
通知音のミュート用に、次のデータを含む rtkStateUpdate イベントを発行します。
{
prefs: {
muteNotificationSounds: boolean
}
}| プロパティ | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
iconPack |
IconPack |
❌ | defaultIconPack |
アイコンパック |
meeting |
Meeting |
✅ | - | Meeting オブジェクト |
size |
Size |
✅ | - | サイズ |
t |
RtkI18n |
❌ | useLanguage() |
言語 |
variant |
'full' | 'inline' |
✅ | - | バリアント |
import { RtkMicrophoneSelector } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return <RtkMicrophoneSelector />;
}import { RtkMicrophoneSelector } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return (
<RtkMicrophoneSelector
meeting={meeting}
size="md"
variant={'full' | 'inline'}
/>
);
}