Add mediasoup voice server scroll (Discord alternative)#13
Open
druid-infra wants to merge 2 commits intomasterfrom
Open
Add mediasoup voice server scroll (Discord alternative)#13druid-infra wants to merge 2 commits intomasterfrom
druid-infra wants to merge 2 commits intomasterfrom
Conversation
- Browser-based WebRTC voice chat (Discord alternative) - mediasoup SFU backend for scalable voice rooms - ColdStarter UDP packet handlers for STUN/DTLS wake - DruidUI web interface for management - Perfect timing with Discord photo ID requirements Features: ✅ Self-hosted voice chat ✅ No client downloads (browser-based) ✅ Auto-wake on connection (ColdStarter) ✅ Pay-per-second billing model ✅ Privacy-focused (no photo IDs!) Tech stack: - Backend: mediasoup (Node.js 22) - Frontend: DruidUI (WASM) - Ports: HTTP/WS + WebRTC UDP - Wake handlers: STUN/DTLS detection
Collaborator
Author
|
- druid-ui-webrtc.wit: Complete WIT interface for WebRTC APIs - PLATFORM_REQUIREMENTS.md: Implementation guide for platform team WIT includes: ✅ getUserMedia (microphone access) ✅ RTCPeerConnection (peer connections) ✅ MediaStream/Track handling ✅ Audio controls (mute/volume/levels) ✅ WebSocket signaling ✅ Event system (host → WASM callbacks) Platform requirements: - 3-phase implementation plan (MVP → Controls → Advanced) - Security model for WASM sandboxing - Browser API mapping - 4-6 week timeline estimate This defines the platform features needed to build proper DruidUI voice components (not just plain HTML/JS).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎙️ New Scroll: mediasoup Voice Server
Browser-based WebRTC voice chat - a self-hosted Discord alternative.
Perfect Timing
Discord just announced mandatory photo ID verification globally (March 2026). This scroll provides a privacy-focused alternative.
Features
✅ Browser-Based - No client downloads, works in any modern browser
✅ WebRTC - Low-latency voice using mediasoup SFU
✅ ColdStarter Ready - Auto-wake on STUN/DTLS packets
✅ DruidUI - Native web management interface
✅ Pay-Per-Second - Druid's usage-based billing (€0 when idle!)
✅ Privacy-First - Self-hosted, no photo IDs, full control
Technical Details
Backend:
Frontend:
.scroll/private/Ports:
Files:
scroll.yaml- Scroll configurationserver.js- mediasoup backend (5KB)install.sh- Yarn dependency installerpacket_handler/webrtc.lua- ColdStarter wake logic.scroll/private/- DruidUI interface (HTML + JS)README.md- Full documentationUse Cases
Cost Comparison
Druid Voice Server:
Discord Nitro: €10/month + surrender all privacy
Roadmap
Future enhancements planned:
Related: This perfectly complements our tweet from today about Discord's photo ID requirements and self-hosted alternatives.
cc @MarcStd @AMXB