LiveNexus AI is a real-time speech intelligence system. It demonstrates how to achieve <200ms Latency Transcription on standard CPU hardware by combining WebRTC Transport (LiveKit) with optimized Edge Inference (Faster-Whisper + VAD).
Get the system running in 2 steps:
# 1. Start Frontend (UI)
npm install && npm run dev
# 2. Start AI Worker (Deep Learning)
cd ai-worker && docker build -t worker . && docker run --env-file ../.env.local workerDetailed Setup: See GETTING_STARTED.md for API Keys.
WebRTC Client -> LiveKit Cloud -> Python Worker (VAD + Whisper)
Audio In -> VAD Filter -> Inference -> DataChannel Out
Double-Buffer UI, CPU Optimization, and Binary Transport
Deep Dive: See ARCHITECTURE.md for the VAD Gating logic.
- ⚡ <200ms Latency: Optimized quantized models run faster than cloud APIs.
- 🔇 VAD Gating:
webrtcvaddrops 70% of silence packets, saving massive CPU. - 🧠 Resource Intelligence: Automatically downgrades model size if CPU > 80%.
- 🔄 Zero-Stutter UI: "Double-Buffer" rendering strategy for smooth text updates.
| Document | Description |
|---|---|
| System Architecture | Hybrid Cloud/Edge design and VAD Pipeline. |
| Getting Started | Connect to LiveKit and run Docker worker. |
| Failure Scenarios | Handling High CPU and Network Jitter. |
| Interview Q&A | "Why not OpenAI API?" and "WebSockets vs DataChannels". |
| Component | Technology | Role |
|---|---|---|
| Transport | LiveKit (WebRTC) | SFU & Signaling. |
| Inference | Faster-Whisper | Quantized Speech-to-Text. |
| Filter | WebRTCVAD | Voice Activity Detection. |
| Frontend | Next.js 14 | Real-time UI. |
Harshan Aiyappa
Senior Full-Stack Hybrid Engineer
GitHub Profile
This project is licensed under the MIT License - see the LICENSE file for details.
