The following table compares the four codecs that the Vivox SDK uses.
Codec |
Opus |
Siren 14 |
Siren 7 |
PCMU* |
Network Bitrate** |
40 kbit/s |
32 kbit/s |
32 kbit/s |
64 kbit/s |
CPU Usage (Encoding) |
Moderate (Highest) |
Cheap |
Cheaper |
Cheapest† |
CPU Usage (Decoding) |
Cheap (Highest) |
Cheap |
Cheaper |
Cheapest |
Supports configurable bitrate? |
Y (6 to 128 kbit/s)
|
N |
N |
N |
Audio Sample Rate‡ |
48 kHz
|
32 kHz
|
16 kHz
|
8 kHz
|
Audio Quality |
Best (20+ kbit/s)
|
Good |
Fair |
Poor |
* Deprecated in favor of Opus 8 kbit/s as of 5.19.0.
** 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.
Comments
0 comments
Article is closed for comments.