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
  • Your Phone System and Your Bottom Line

    Businesses have been using phones to drive increases to their bottom lines for almost a century now. Telephony, much like the rest of the business world, has seen drastic changes with the increase in technological advancement. Voice Over Internet Protocol (VoIP), has enabled companies to connect with consumers at levels that have been seen as unheard of before. And trust us when we say this, it is doing wonders for the bottom line. more

  • 2017 Phone Systems Checklist

    As you are well aware, we are living in an age of extreme technological growth. With this, an understatement might be that phone systems have changed a bit over the last decade. If you are in the market for a new phone system, it is absolutely essential for you to have knowledge of this vast sector and just what exactly you need in order to have your business succeed. more

  • VoIP vs. VoPI

    Are you searching around for an upgrade to your current phone system? If so, you've mostly likely heard of VoIP, but do you know about VoPI? Lately, there has been a lot of conversation around what the difference is between the two systems. Most of this conversation centers around security, as both of these systems, operate over the internet versus the traditional phone lines. more

  • Why You Need Mobile VoIP

    Mobile VoIP is growing at an exponential rate and can help your company reduce costs, improve communications, and drive increased employee satisfaction and loyalty. If what was just mentioned above sounds like it would be good for your business (it is), download our latest guide Why You Need Mobile VoIP to learn even more reasons why you need to make the switch today! more

  • How You Can Stop VoIP Eavesdropping

    In today’s modern technological world we face cyber threats on an almost daily basis. This rings true when switching phone systems to VoIP. While there are many benefits to making the switch, there MUST be precautions taken to ensure that your new phone system is safe and secure. more