How livekit-examples/meet works
Project type and purpose
• LiveKit Meet is a full-stack, server-rendered React application built with Next.js App Router.
• It’s an open-source video conferencing web app that uses LiveKit Cloud as its media signaling and SFU (Selective Forwarding Unit) backend.
• The Next.js codebase also exposes a small set of serverless API routes to generate connection tokens and control recording via the LiveKit REST API.
File structure
• Top-level:
• app/ — Next.js 13 App Router directory with server & client components.
– app/page.tsx, app/layout.tsx: root layout and home page.
– app/custom/, app/rooms/: client-side pages & custom React implementations.
– app/api/: serverless route handlers for /connection-details, /record/start, /record/stop.
• lib/: shared UI components and utilities for camera/mic settings, debug overlays, token generation (getLiveKitURL.ts), E2EE hooks.
• public/: static assets (images, backgrounds).
• next.config.js, tsconfig.json, package.json: build & tooling config.
• The separation between app/ (UI + API) and lib/ (reusable components & helpers) suggests a component-based, serverless-API architecture.
README
• Confirms tech stack: Next.js, React, @livekit/components-react, LiveKit Cloud.
• Describes demo URL, dev setup, and environment variables for connecting to LiveKit Cloud.