Skip to main content

Merge recording

Muxes individual recordings into a two-channel stereo audio file.

const { recording } = await client.recordings.merge.create({
sessionId,
channel1: [{ participantId: "participant-alice" }],
channel2: [{ participantId: "participant-bob" }],
});

Manage recordings

List merge jobs, or fetch one by its muxer id:

await client.recordings.merge.list({ sessionId });
await client.recordings.merge.get(muxerId);

The recording object

recordings.merge.create returns { message, recording }. list and get return the recording directly.

FieldTypeDescription
idstringMerge id.
channel1object[]Left-channel sources (recordingId, participantId).
channel2object[]Right-channel sources (recordingId, participantId).
statusstringMerge job status.
sessionIdstringSession whose audio was merged.
fileobjectMerged output file (contains fileUrl).
startstringStart time (ISO-8601).
endstringEnd time, null while still processing.

Got a Question? Ask us on discord