Skip to content

RtkRecordingToggle

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.

Properties

PropertyTypeRequiredDefaultDescription
disabledboolean✅-Disable the button
iconPackIconPack❌defaultIconPackIcon pack
meetingMeeting✅-Meeting object
sizeSize✅-Size
tRtkI18n❌useLanguage()Language
variantControlBarVariant✅-Variant

Usage Examples

Basic Usage

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

With Properties

import { RtkRecordingToggle } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return (
<RtkRecordingToggle
disabled={true}
meeting={meeting}
size="md"
/>
);
}