- Time-based dedup (2s TTL) replaces fixed-window dedup — consecutive senders with same seq numbers no longer collide - Raw byte forwarding for federation local delivery (no re-serialization) - Jitter buffer resets on large backward seq jumps (>100) - recv_media skips malformed datagrams instead of returning connection-closed - SIGTERM handler for clean QUIC shutdown on wzp-client - JSONL event log infrastructure (--event-log flag) for protocol analysis - FEC disabled on GOOD profile for federation debugging (fec_ratio=0.0) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
31 lines
870 B
Rust
31 lines
870 B
Rust
//! WarzonePhone Relay Daemon
|
|
//!
|
|
//! Integration crate that wires together all layers into a relay pipeline:
|
|
//! recv → FEC decode → jitter buffer → FEC encode → send
|
|
//!
|
|
//! 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 auth;
|
|
pub mod config;
|
|
pub mod event_log;
|
|
pub mod federation;
|
|
pub mod handshake;
|
|
pub mod metrics;
|
|
pub mod pipeline;
|
|
pub mod presence;
|
|
pub mod probe;
|
|
pub mod relay_link;
|
|
pub mod room;
|
|
pub mod route;
|
|
pub mod session_mgr;
|
|
pub mod trunk;
|
|
pub mod ws;
|
|
|
|
pub use config::RelayConfig;
|
|
pub use handshake::accept_handshake;
|
|
pub use pipeline::{PipelineConfig, PipelineStats, RelayPipeline};
|
|
pub use session_mgr::{RelaySession, SessionId, SessionInfo, SessionManager, SessionState};
|
|
pub use trunk::TrunkBatcher;
|