Enzuzo Consent Ledger keeps a record of each participant's consent decisions. The Consent Ledger LiveKit reference integration shows how to use Consent Ledger in a LiveKit meeting application. It collects individual recording consent decisions, submits them to Consent Ledger, and allows recording only after a participant's acceptance receipt is confirmed.
Recording works per participant by default. It does not require unanimous consent: participants who accept can be recorded while those who decline are not.
The reference integration is built with Node.js and TypeScript and runs in your application's backend. Clone the repository, try the local demo, and adapt the code to your application. The repository's README provides the full installation and integration instructions.
How it works
A participant joins a LiveKit meeting and sees your recording notice.
They accept, decline or withdraw, separately for each meeting. Your backend submits the decision through the integration.
The integration saves the decision in your application's database, writes it to Consent Ledger, and reads the record back to confirm the receipt.
Recording can only start when the participant has a current acceptance with a confirmed Consent Ledger receipt. The integration then starts recording that participant through LiveKit Egress.
When a participant declines or withdraws, the integration blocks new recording starts and immediately requests that LiveKit stop any active recording for that participant. It does not wait for Consent Ledger to confirm the withdrawal. Previously recorded media is not automatically erased.
Consent Ledger and LiveKit never talk to each other directly. The integration sits between them. Consent records can be retrieved using their unique record IDs, so your application must keep these IDs.
Who handles what
The integration handles
Submitting decisions to Consent Ledger and confirming their receipts
Checking recording permission for individual participants or a specified group of participants
Starting and stopping LiveKit recordings based on current consent
Recovering unfinished recording operations after a restart
Your application handles
Authenticating participants and issuing room access
Showing a versioned recording notice and collecting the choice
Storing, protecting and deleting recordings
Retention policies and any downstream use, such as transcription
Current limitations
Consent records are retrieved by record ID. Searching by participant or meeting is not currently available.
Newly submitted consent records may take a few seconds to become readable.
Repeated write requests can create duplicate records. The integration does not automatically retry consent writes.
Consent records cannot currently be deleted through the API.
Withdrawal stops authorization for further recording but does not automatically erase previously recorded media.
Country and region information recorded by Consent Ledger describes the origin of the API request, not necessarily the participant's physical location.
The reference integration does not manage AI agents directly.
See What's available today for limits that apply to all of Consent Ledger.
Learn more
GitHub reference integration: Full installation instructions, configuration, examples, and troubleshooting.
LiveKit example app: What the example app demonstrates.
LiveKit API reference: Every function, option and result.
LiveKit receipt reference: An explanation of each consent record field, including a real example.
Consent Ledger API documentation: API endpoints, schemas, and consent record retrieval.
