How rbitts/live works
Open-weight Live is a local, single-user PoC for comparing a native MiniCPM-o live path with a Korean Qwen full-duplex system. In the Qwen workflow, the browser streams audio and camera frames to a WebSocket gateway; a session handles speech detection, interruption, and temporary conversation context, then coordinates ASR, visual-language response, and streamed TTS before returning transcript, text, and audio events. The native path is separately documented and uses an adapter to the official demo. Worker internals and the native upstream UI are not fully sampled, so those links are limited to documented behavior.
Main entry points: index.html Live browser UI · backend.py Qwen coordinator · app.py WebSocket gateway · session.py Live session
Components 12
Browser client
- Live browser UI
web/index.html - Audio capture
web/worklet.js
Gateway and session
- WebSocket gateway
src/live/app.py - Live session
src/live/session.py - Qwen coordinator
src/live/backend.py
Qwen inference
- Speech recognition
scripts/model_worker.py - Visual response
scripts/model_worker.py - Speech synthesis
scripts/model_worker.py
Native path
- Native profile
configs/native.json - Native adapter
scripts/native_backend.py - MiniCPM official demo
Other components
- User
Connections 14
- User → Live browser UI: uses
README.md - Live browser UI → Audio capture: captures audio
web/worklet.js - Audio capture → Live browser UI: posts PCM
web/worklet.js - Live browser UI → WebSocket gateway: streams inputs
README.md - WebSocket gateway → Live browser UI: serves UI
src/live/app.py - WebSocket gateway → Live session: dispatches events
src/live/app.py - Live session → Qwen coordinator: requests inference
src/live/session.py - Qwen coordinator → Speech recognition: transcribes audio
src/live/backend.py - Qwen coordinator → Visual response: streams response
src/live/backend.py - Qwen coordinator → Speech synthesis: streams speech
src/live/backend.py - Live session → Live browser UI: emits events
- User → MiniCPM official demo: uses native live
README.md - Native profile → Native adapter: configures profile
- Native adapter → MiniCPM official demo: connects backend