Enzuzo Consent Ledger records consent. The LiveKit reference integration uses those records to start and stop recording. The example app shows both working together.
The example app is a working meeting app built on Consent Ledger and the LiveKit reference integration. Use it to see the full consent and recording flow before you build your own. It is a reference, not a product to deploy as is. It ships with the reference integration repository.
What it demonstrates
A participant joining a LiveKit meeting and seeing a recording notice
Accepting, declining and withdrawing consent during the meeting
Consent decisions written to Consent Ledger and confirmed by receipt
Recording that starts only after a confirmed acceptance, and stops on withdrawal
Run it yourself
The local consent-only demo runs without external service credentials. In this mode, Consent Ledger is simulated and no audio or video is recorded.
What you need to run the local demo
Node.js 22.12 or newer
npm
Git
No external service accounts or credentials are required for the local demo.
What you need to connect your own services
You will also need:
Consent Ledger: Your Ledger UUID, a read token with the
ledger:readscope, and the API base URL specified in the Consent Ledger API documentation. New to Consent Ledger? Start with Getting started with Consent Ledger.LiveKit: A project URL, API key, and API secret, with Egress available for recording.
Database: PostgreSQL, with a role that can create the required tables and a separate, restricted runtime role. SQLite is also supported through Drizzle.
Recording storage: A private S3-compatible storage bucket, such as AWS S3 or Cloudflare R2, with credentials that allow LiveKit to upload recordings.
Try the local demo
The local demo requires no external service credentials. It ignores the .env file and does not contact external services.
Clone the reference integration repository and install its dependencies:
git clone <repository-URL> consent-ledger-livekit cd consent-ledger-livekit npm ci npm --prefix demo ci npm run meeting-demo:local
Open http://127.0.0.1:8787 in your browser and sign in as the host using the single-use code printed in the terminal.
Create a guest link for each participant.
Open each guest link in a separate browser profile.
Start the meeting.
Accept, decline, or withdraw recording consent from each participant's page.
Observe how individual consent decisions affect recording permissions.
In this mode, Consent Ledger is simulated locally, and the database is held in memory. Receipts are confirmed against the local stand-in rather than the live Consent Ledger service.
No audio or video is recorded because the local demo demonstrates the consent workflow only.
You can also run the default automated test suite using:
npm test
Additional PostgreSQL integration tests require a configured test database.
Connect your services
Once you are familiar with the local demonstration, you can configure the integration to use your own services.
Copy
.env.exampleto.envand configure the required settings. The repository's README explains each configuration option.Use a separate test Ledger, LiveKit project, database, and storage bucket with synthetic participant identifiers while testing your application.
Follow the README instructions to initialize the database and run the demonstration against your configured services.
Adapt the reference integration to your application's backend.
When integrating the code into your own backend, supply the required configuration directly. The integration itself does not read environment variables or configuration files. Before recording real participants, work through the LiveKit production checklist.
Build your own
When you are ready to add consent-controlled recording to your own app, start with the LiveKit quickstart and the LiveKit production checklist.
