What is VoIP Codec?

By Jelani Harper
Updated: September 19, 2011

What is VoIP Codec?

VoIP codecs are algorithms that perform the essential functions of VoIP—converting voice data into digital signals that are reconverted into voice data again at their destination to allow for telephone conversations. Codec is a hybrid of the words “coder” and “decoder”; these algorithms perform other functions endemic to the transporting of digital data including compression and packet switching. There is a wide variety of codecs that VoIP telephony utilizes, some of which are more commonly used than others.

Conversion Process

Codecs perform the process of converting audio data into digital data by sampling the initial audio signal at rates of several thousand times per second. Each sample is then converted into digital data, which is compressed before traveling through bandwidth to the receiver on the other end. The reassembly of the digital data into audio includes minute particles that are missing due to the conversion process, but which are typically too small for users (who only hear continuous audio) to detect. The conversion process is called encoding; the process by which digital signals are reconfigured into audio is known as decoding.

Compression

Compression is a key function performed by VoIP codecs, and is the name of the process whereby the size of audio data is decreased so it can travel in smaller increments over bandwidth to the other user. Bandwidth is typically expensive and a valuable commodity; compressing data makes it lighter and easier to transport and helps to maximize the performance of the bandwidth and the quality of the data it is both sending and receiving. Compression can be somewhat of a tricky process, however, because the more tightly data is compressed the less optimal its sound quality is. Conversely, the less tightly the data is compressed the better it sounds—and the more strain it places on bandwidth, which may require greater amounts to transport the data. As a result, codecs vary considerably in required bandwidth, sound quality, forms of compression and computational requirements.

Common Codecs

One of the most widely used codecs in current VoIP technology is known as G.729A, which has a sampling rate of 8,000 times per second. Another highly prevalent codec is CS-ACELP, which is useful for streamlining and organizing bandwidth, and which also contain a component known as Annex B. Annex B is the part of CS-ACELP that is largely responsible for packet switching, which means that if no one is talking data will not be transmitted throughout VoIP. Packet switching is widely considered superior to its alternative, circuit switching.
 

Featured Research
  • 15 Traits of a Good Phone System

    While each marketed model has its own host of bells and whistles, when it comes down to it, for you to select the best phone system for your business, focus on little more than these 15 traits! more

  • 2017 Business VoIP Features

    If you’re considering an investment into a new VoIP system (or upgrading an old one), it’s important to understand what features are available and which ones your business will actually need. Especially if you want to keep costs at a minimum. more

  • What To Do When Your VoIP Contract Expires

    Automatically renewing your VoIP contract is a mistake. The VoIP landscape has been changing rapidly, and it pays to review all of your options before committing to another contract. more

  • VoIP Brings Big Benefits to Small Businesses

    If you run a small to midsized business and you're still relying on a traditional phone system, you need to rethink things. VoIP offers most businesses, regardless of the size, huge benefits. For small businesses, it unlocks the opportunity to have an enterprise-level communication system without the traditional expenses. more

  • [Infographic] How UC Can Improve Employee Productivity

    If you’re interested in a straightforward way to improve the productivity of your employees, it's time to consider adopting a Unified Communications (UC) strategy. more