Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
Description
airc-queue card
Coordinates work via the AIRC queue substrate (airc#562). Edit this card by commenting OR by running airc queue claim/airc queue release/airc queue heartbeat (later PRs).
{
"kind": "airc-queue-card-v1",
"id": "#765",
"owner": "claude-tab-1",
"status": "claimed",
"evidence": "bulk-adopted from continuum unlabeled-open backlog (Joel directive 2026-05-14)",
"next_action": "triage scope + assign or close stale"
}Close this issue when the work is done (status=merged/abandoned).
Original issue body
Pre-adoption body
Problem
The Rust LiveKit WebRTC agent is compiled with a stub in Docker because webrtc-sys requires X11/glib system libraries that aren't available in the Alpine container.
This means:
- No STT: Human audio reaches LiveKit server but no agent subscribes to transcribe it
- No TTS: AI personas can't publish synthesized speech to the LiveKit room
- No subtitles: No transcription = no captions displayed
- No AI voice presence: Personas "join" at the DB level but never connect to WebRTC
Whisper model loads fine (large v3, 1.6GB) — the inference is ready, just no audio reaches it.
Root Cause
continuum-core.Dockerfile disables the livekit-webrtc feature:
⚠️ LiveKit WebRTC agent disabled (compiled without livekit-webrtc feature)
webrtc-sys crate requires:
- libX11 / X11 headers
- glib / glib headers
- Possibly PulseAudio or ALSA for audio capture
Possible Solutions
- Add X11/glib dev packages to the Docker build —
apk add libx11-dev glib-dev(or equivalent for the build stage) - Use headless/server WebRTC build — webrtc-sys may have a server-only mode without display dependencies
- Switch to LiveKit's Rust SDK server mode —
livekit-apicrate for server-side agent without full WebRTC stack - Separate agent container — build the agent on a different base image with X11 libs
Impact
LiveKit infrastructure is proven working (PR #740):
- WebSocket signaling via Tailscale serve: working
- WebRTC PeerConnection via UDP over Tailscale mesh: working
- Human video/audio publishing: working
- ICE candidates on correct Tailscale IP: working
Only missing piece is the server-side agent that receives and produces audio.
Related
- PR Docker-first architecture: full E2E stack, grid access, continuum CLI #740 — Docker-first architecture
- LiveKit grid mode commit: 0895d93
Activity
m13v commentedon Apr 4, 2026
the X11/glib dependency issue for webrtc-sys in Docker is a common pain point. we dealt with similar problems running audio processing pipelines in containers.
for a server-side agent that only needs to receive and produce audio (no display rendering), you likely don't need the full WebRTC stack compiled with display dependencies. the livekit-api crate (option 3) is probably the cleanest path. it gives you room-level audio track subscription and publishing without pulling in the native WebRTC libraries that need X11.
if you do need the full webrtc-sys, switching from Alpine to a Debian-based image (debian:bookworm-slim) makes the dependency resolution much simpler. Alpine's musl libc causes additional linking headaches with webrtc-sys beyond just the X11 issue. on Debian you'd need libx11-dev, libglib2.0-dev, and libasound2-dev. the image is larger but builds reliably.
also, since you mentioned Whisper large v3 loads fine at 1.6GB, make sure your Docker memory limits account for both the model and the WebRTC audio buffers. WebRTC can allocate significant memory for jitter buffers, especially with multiple participants.
m13v commentedon Apr 4, 2026
our voice transcription service that handles the audio pipeline and model management (on the application side rather than Docker): https://github.com/m13v/fazm/blob/main/Desktop/Sources/TranscriptionService.swift
if you end up going the separate agent container route, the audio processing patterns should be useful reference for the STT integration once you get the WebRTC audio feed working.
docs(architecture): AGENT-BACKBONE-INTEGRATION — Continuum as local-f…
github-actions commentedon Jul 19, 2026
This issue is stale because it has been open for 60 days with no activity. Please comment or update this issue to keep it active.
github-actions commentedon Aug 19, 2026
This issue was closed because it has been inactive for 30 days since being marked as stale.