Skip to main content

kit_recordings

Creates, updates, deletes, gets or lists a kit_recordings resource.

Overview

Namekit_recordings
TypeResource
Idcloudflare.realtime_kit.kit_recordings

Fields

The following fields are returned by SELECT queries:

Success response

NameDatatypeDescription
dataobjectData returned by the operation (title: Recording)
successbooleanSuccess status of the operation

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_accountselectaccount_id, app_id, recording_idReturns details of a recording for the given recording ID.
start_recordingsinsertaccount_id, app_idStarts recording a meeting. The meeting can be started by an App admin directly, or a participant with permissions to start a recording, based on the type of authorization used.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
app_idstringThe Access application ID.
recording_idstringID of the recording

SELECT examples

Returns details of a recording for the given recording ID.

SELECT
data,
success
FROM cloudflare.realtime_kit.kit_recordings
WHERE account_id = '{{ account_id }}' -- required
AND app_id = '{{ app_id }}' -- required
AND recording_id = '{{ recording_id }}' -- required
;

INSERT examples

Starts recording a meeting. The meeting can be started by an App admin directly, or a participant with permissions to start a recording, based on the type of authorization used.

INSERT INTO cloudflare.realtime_kit.kit_recordings (
allow_multiple_recordings,
audio_config,
file_name_prefix,
interactive_config,
max_seconds,
meeting_id,
realtimekit_bucket_config,
rtmp_out_config,
storage_config,
url,
video_config,
account_id,
app_id
)
SELECT
{{ allow_multiple_recordings }},
'{{ audio_config }}',
'{{ file_name_prefix }}',
'{{ interactive_config }}',
{{ max_seconds }},
'{{ meeting_id }}',
'{{ realtimekit_bucket_config }}',
'{{ rtmp_out_config }}',
'{{ storage_config }}',
'{{ url }}',
'{{ video_config }}',
'{{ account_id }}',
'{{ app_id }}'
RETURNING
data,
success
;