Skip to content
Cloudflare Docs

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
iconPackIconPackdefaultIconPackIcon pack
meetingMeeting-Meeting object
sizeSize-Size
tRtkI18nuseLanguage()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"
/>
);
}