Codec comparison
You can set the codec of your Vivox voice client during initialization.
The following table compares the four codecs that the Vivox SDK uses.
Opus | Siren 14 | Siren 7 | |
Network Bitrate* | 32 kbit/s | 32 kbit/s | 32 kbit/s |
CPU Usage (Encoding) | Moderate | Low | Lower |
CPU Usage (Decoding) | Low | Low | Lower |
Supports configurable bitrate? | Yes (6 to 128 kbit/s) | No | No |
Audio Sample Rate† | 48 kHz | 32 kHz | 16 kHz |
Audio Quality | Best (20+ kbit/s) | Good | Fair |
* Numbers listed represent the default bitrate for each codec for one voice stream at theoretical max. Codec bitrates are only in effect while speech is active (either being transmitted or received). These exclude 14.4 kbit/s of overhead from Vivox packet headers while speech is active.
† Higher sample rates allow for higher fidelity audio but do not by themselves guarantee a better sound.