MOQ port #97
No reviewers
Labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
puregarlic/microclimate!97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue/moq-port"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Removes LiveKit and ports everything to Iroh+MOQ
Replace the LiveKit/WebRTC media stack with Media-over-QUIC (moq) over an iroh transport, with our server acting as the relay. Server (server/): - Embed moq-relay (Cluster + Connection + Auth) on an iroh endpoint as a new services::relay module; single-node today, cluster-ready for the future. - Mint per-channel moq-tokens (HS256) the relay verifies; track live presence from origin announcements. - GetChannelToken now returns {relay_addr, moq_token, broadcast_path}; GetVoiceChannels reports participants from relay presence. - Drop livekit-api and the LIVEKIT_* env; add MOQ_* config. Client (src-tauri/): - Rewrite channels::manager to dial the relay over iroh H3/WebTransport, publish the mic as an Opus broadcast via moq-audio, and discover/decode peers via origin announcements into the existing cpal+sonora pipeline. - Derive active-speakers from RMS; emit room stats from the QUIC connection. - Same Tauri command/event names, so the frontend is unchanged. Drop livekit. Infra: - proto/channels.proto: new token response shape. - Dockerfile: Rust 1.96 (moq needs 1.95+) plus cmake/clang for aws-lc-sys. - Vendor upstream source as pinned git submodules under vendor/ (moq, iroh) for in-tree reference; exclude vendor/ from deno fmt/lint. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>d02dcec720f7b1c1387fArchitectural Review: MOQ Port
The transition from LiveKit to Iroh+MOQ is architecturally sound and well-executed. The implementation follows project conventions and successfully integrates a decentralized media model.
Strengths:
Recommendations for Improvement:
Verdict: 🟢 Approve
The port is high-quality and ready for merge once the author considers the above optimizations.
Architectural Review: MOQ Port
The transition from LiveKit to Iroh+MOQ is architecturally sound and well-executed. The implementation follows project conventions and successfully integrates a decentralized media model.
Strengths:
Recommendations for Improvement:
Verdict: 🟢 Approve
The port is high-quality and ready for merge once the author considers the above optimizations.
For clarity, there seems to be some issue with the API review status enum, and I had Gideon attempt the review a second time. Doesn’t seem to have helped.
f67d217b536743f04f696743f04f6927cb284fe9