A button which toggles recording state of a meeting. Only a privileged user can perform this action, thus the button will not be visible for participants who don't have the permission to record a meeting.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
disabled |
boolean |
✅ | - | Disable the button |
iconPack |
IconPack |
❌ | defaultIconPack |
Icon pack |
meeting |
Meeting |
✅ | - | Meeting object |
size |
Size |
✅ | - | Size |
t |
RtkI18n |
❌ | useLanguage() |
Language |
variant |
ControlBarVariant |
✅ | - | Variant |
import { RtkRecordingToggle } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return <RtkRecordingToggle />;
}import { RtkRecordingToggle } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return (
<RtkRecordingToggle
disabled={true}
meeting={meeting}
size="md"
/>
);
}