updated plan

This commit is contained in:
sam
2026-05-03 11:07:42 +02:00
parent 989d3bcc9f
commit 7dbb940107
5 changed files with 18 additions and 3 deletions

View File

@@ -1,6 +1,14 @@
voice_app/
├── Cargo.toml # Workspace manifest; links all crates
├── README.md # Project entry point and documentation index
├── .gitignore # Exclude /target, .env, and binary/database files
├── LICENSE # Project licensing (e.g., AGPLv3 or MIT)
├── Documentation/ # Comprehensive technical specifications and plans
│ ├── High_level_plan/ # Technical specs and architecture overview
│ ├── Low_level_plan/ # Implementation details and data flow
│ ├── Mile_Stones/ # Code-level step-by-step checklists
│ ├── Standards/ # Strict rules for code quality and testing
│ └── Concept/ # UI mockups and aesthetic references
├── core_protocol/ # Shared binary logic and network Enums
│ ├── Cargo.toml # deps: serde, bincode, uuid, chrono
│ └── src/
@@ -19,6 +27,7 @@ voice_app/
│ ├── tcp_router.rs # Logic for reliable control lanes
│ ├── udp_relay.rs # High-speed voice packet forwarding
│ ├── web_api.rs # Axum REST API and embedded file serving
│ ├── telemetry.rs # Prometheus /metrics endpoint for server health
│ └── auth_service.rs # Argon2 hashing and JWT token generation
├── client_node/ # Desktop application, audio engine, and plugin host
│ ├── Cargo.toml # deps: eframe, cpal, audiopus, webrtc-dsp, extism
@@ -31,7 +40,8 @@ voice_app/
│ │ └── chat_area.rs # Text messages and system logs
│ ├── network/ # Internet connectivity modules
│ │ ├── control.rs # TCP: TLS, Heartbeats, Auto-reconnect
│ │ ── voice.rs # UDP: Jitter buffer (40ms), Seq ordering, Decryption
│ │ ── voice.rs # UDP: Jitter buffer (40ms), Seq ordering, Decryption
│ │ └── chaos.rs # UDP Middleware: Artificial packet loss/latency injection
│ ├── audio/ # Real-time pipeline with 20ms frames
│ │ ├── capture.rs # Microphone -> Lock-free Ringbuffer
│ │ ├── dsp.rs # Noise suppression & Echo cancellation (WebRTC)
@@ -40,6 +50,8 @@ voice_app/
│ └── plugins/ # Wasm Extension Sandbox
│ ├── runtime.rs # Extism Wasm runtime initialization
│ └── hooks.rs # Event triggers: OnVoice, OnMessage, OnJoin
├── tests/ # Integration and Load Testing
│ └── load_tester.rs # Standalone binary simulating 100+ concurrent clients
├── deploy/ # Automation and containerization assets
│ ├── Dockerfile # Multi-stage build for tiny server images
│ ├── docker-compose.yml # One-click deployment for Docker/NAS users