Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Core SDK

Vivox Core SDK

Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
    • Client SDK basics
    • Channels
    • Presence management
    • Messaging
    • Manage audio
    • Couch co-op
    • Android app development
    • iOS app development
    • macOS app development
    • Windows app development
    • Real-time recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Troubleshooting
      • Voice activity detection
      • Codec comparison
      • Vivox Client SDK logs
      • Vivox SDK error codes
  • Reference
  • Privacy overview
  1. Vivox Core SDK documentation
  2. Troubleshooting

Codec comparison

Reference error codes and their meanings.
Read time 2 minutes
Last updated 8 months ago

You can set the codec of your Vivox voice client during initialization using
vx_sdk_config
and
default_codecs_mask
.
The following table compares the four codecs that the Vivox SDK uses.
 OpusSiren 14Siren 7PCMU
Network Bitrate*40 kbit/s32 kbit/s32 kbit/s64 kbit/s
CPU Usage (Encoding)ModerateLowLowerLowest**
CPU Usage (Decoding)LowLowLowerLowest
Supports configurable bitrate?Yes (6 to 128 kbit/s)NoNoNo
Audio Sample Rate†48 kHz32 kHz16 kHz8 kHz
Audio QualityBest (20+ kbit/s)GoodFairPoor
* 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.
** 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.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.


    Report a problem with this page