feat: Phase 2 — relay daemon and client library with integration pipelines
wzp-relay: - RelayPipeline: ingest → FEC decode → jitter buffer → FEC encode → send - SessionManager: tracks active calls, idle expiry - RelayConfig: TOML-based configuration - Binary: accepts QUIC connections, receives media packets wzp-client: - CallEncoder: mic PCM → Opus encode → FEC → MediaPackets - CallDecoder: MediaPackets → FEC decode → jitter → Opus decode → PCM - CLI binary: connects to relay, sends test silence frames 99 tests passing across all 7 crates. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
//! WarzonePhone Relay Daemon
|
||||
//!
|
||||
//! Integration crate that wires together all layers into a relay pipeline:
|
||||
//! recv → decrypt → FEC decode → jitter → FEC encode → encrypt → send
|
||||
//! recv → FEC decode → jitter buffer → FEC encode → send
|
||||
//!
|
||||
//! Built after the 5 agent crates (proto, codec, fec, crypto, transport) are complete.
|
||||
//! The relay forwards media between two QUIC endpoints without decoding audio.
|
||||
//! It operates on FEC-protected packets, managing loss recovery and adaptive
|
||||
//! quality transitions.
|
||||
|
||||
pub mod config;
|
||||
pub mod pipeline;
|
||||
pub mod session_mgr;
|
||||
|
||||
pub use config::RelayConfig;
|
||||
pub use pipeline::{PipelineConfig, PipelineStats, RelayPipeline};
|
||||
pub use session_mgr::{RelaySession, SessionId, SessionManager};
|
||||
|
||||
Reference in New Issue
Block a user