This paper introduces EDRP Voice Chat v1.0, a novel voice communication protocol designed to address the latency and reliability shortcomings of standard VoIP in high-stress or bandwidth-constrained environments. By utilizing a hybrid UDP/TCP transport layer, Opus codec optimization, and a Decentralized Relay Architecture, EDRP v1.0 achieves sub-150ms latency while maintaining audio fidelity. This document outlines the technical architecture, packet structure, and congestion control mechanisms of the protocol.
EDRP Voice Chat v1.0 replaces traditional party-based voice systems with a full, dynamic 3D spatial audio engine designed for serious roleplay. Whether you’re conducting a shady deal in a back alley, coordinating a police raid, or bleeding out waiting for an EMT — how you communicate changes everything.
The EDRP Packet consists of a 12-byte header and a variable payload.
| Offset | Size (Bytes) | Field Name | Description |
| :--- | :--- | :--- | :--- |
| 0 | 1 | Version | Protocol Version (Currently 0x01). |
| 1 | 1 | Flags | Bit flags for Encryption, Compression, and Priority. |
| 2 | 4 | Sequence ID | Monotonically increasing packet counter (unsigned int). |
| 6 | 4 | Timestamp | Unix timestamp in milliseconds (for sync). |
| 10 | 2 | Payload Size | Length of the payload data in bytes. |
| 12 | Var | Payload | Opus encoded audio frames. |
If you’d like, I can produce a concise JSON schema for signaling messages or a sample client API in JavaScript next.