RealVoice Network-Level Protocols
Timothy Milliron

RealVoice uses a peer-to-peer network abstraction, mimicking the structure of the phone network. In order to accomplish good bandwidth, low latency communication, RealVoice employs unreliable UDP sockets for the transmission of voice data. However, since reliability is critical in certain segments of the protocol (connecting, maintaining), TCP sockets are also used. In short, a dual-socket peer-to-peer interface embodies the RealVoice structure. The network protocol can be defined as below (details about data format are at the bottom of the page).

The above scenario allows for considerable flexibility to configure a RealVoice session. One thing that should be added to the specification is that certain audio and datalink parameters need to be written at compile time.

Data Formats
Several data format details are important to notice: