Skip to main content

Composite recording

A server-side composed mix of selected participants, with optional watermarks. It uses composition, and start returns an egress handle whose id is the recordingId you need to stop it.

const rec = await client.recordings.composite.start(roomId, {
participants: [{ participantId: "participant-alice", kind: ["audio", "video"] }],
watermarks: [{ type: "custom", imageUrl: "https://example.com/logo.png", text: "CONFIDENTIAL" }],
});

await client.recordings.composite.stop(rec);

Also list, get, and delete.

Got a Question? Ask us on discord