Welcome to the new Daily Docs. Please let us know what you think.

POST
/recordings/:id/composites

Path params

recording_id
string

Body params

composite_mode
string

must be set to 'tracks-layout'

Default: tracks-layout
size
string

must be in the format "WIDTHxHEIGHT"

tracks
array

list of tracks to include in the composite video. Audio tracks require the track id. Video tracks require an id and size.

title
string

(optional) the new video's title metadata

duration
integer

(optional) the length of the video in seconds

background_color
string

(optional) set the background color to something other than black. See here for color options: https://ffmpeg.org/ffmpeg-utils.html#Color