Start recording audio and video tracks
POST/accounts/{account_id}/realtime/kit/{app_id}/recordings/track
Starts a track recording in a meeting. Track recordings consist of "layers". Layers are used to map audio/video tracks in a meeting to output destinations. More information about track recordings is available in the Track Recordings Guide Page.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Path Parameters
Start recording audio and video tracks
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/realtime/kit/$APP_ID/recordings/track \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-d '{
"layers": {
"default": {
"file_name_prefix": "string",
"outputs": [
{
"type": "REALTIMEKIT_BUCKET"
}
]
},
"default-video": {
"file_name_prefix": "string",
"outputs": [
{
"type": "REALTIMEKIT_BUCKET"
}
]
}
},
"meeting_id": "string"
}'