The following table compares the four codecs that the Vivox SDK uses.
|CPU Usage (Encoding)
|CPU Usage (Decoding)
|Supports configurable bitrate?
(6 to 128 kbit/s)
|Audio Sample Rate†
Best (20+ kbit/s)
* Numbers listed represent the default bitrate for each codec. Represents 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.
** PCMU is essentially free in terms of CPU usage. Encoding and decoding are composed of bitwise operations and table lookups.
† Higher sample rates allow for higher fidelity audio but do not by themselves guarantee a better sound.