Deep Dive into Codecs - VoIP.ms Wiki

Check out our YouTube channel to watch our simple tutorials that will help you set up most of our features.

Deep Dive into Codecs

From VoIP.ms Wiki

Revision as of 16:56, 24 March 2021 by Johann (Talk | contribs)
Jump to: navigation, search
Deep Dive into Codecs

What is an audio codec? An audio codec is a digital electronic device or a computer-based software capable of encoding or decoding an audio data stream. When it is a software audio codec it will, essentially, consist of an algorithm that codes and decodes an audio stream. A hardware, audio codec will refer to a device that encodes analog audio as digital signals and decodes digital back into analog.

In this article, we will discuss different types of voice codecs and fax codecs along with the basic difference between them.


Deep Dive into Codecs


Voice Codecs


1. G.711

There are two variants of the G.711 codec, namely G.711u and G.711a. The G.711u is typically used within Japan and North America. Whereas, G.711a is used by other countries in the world. Developed in 1972, it is part of the narrowband codecs. Having said that, the G.711 uses an 8 kHz sampling frequency that has a 64 Kbit/s bitrate.

The 64 Kbit/s is the amount of bandwidth required per second through your internet connection for handling a single phone call. That said, the G.711 data is not compressed. Therefore, the bitrate of 64 Kbit/s is large compared to other codecs that make use of compression techniques for lowering the required bandwidth.


2. G.722

Released in 1988 as a wideband codec, G.722 tries to improve on the G.711 codec by increasing its sampling rate and compression. The G.722 codec uses a 16 kHz sampling frequency using 14 bits per sample. Because the codec starts with an uncompressed bitrate of 224 Kbit/s, it uses compression techniques to attain a bitrate of 64 Kbit/s.


3. G.729

Another mainstream VoIP codec that is used to transmit phone calls over the internet is G.729. Having said that, G.729 codec encodes the voice in frames. Each of the G.729 frames is ten milliseconds long and includes 80 audio samples. Also, the bitrate requirement for one direction for the G.729 codec is 8 Kbit/s. Because the G.729 offers higher compression capabilities, you can make more calls using the same internet connection at once.


Deep Dive into Codecs


4. GSM

GSM stands for Global System for Mobile Communications. The bitrate of the gsm codec is 13 Kbit/s when using the GSM-FullRate or 6.5 Kbit/s when using GSM-HalfRate. However, it offers less speech quality as compared to modern standards.


Comparison of Voice Codecs

G.711 prioritizes sound quality but does not perform compression. Therefore, it requires more bandwidth as compared to other codecs such as G.729. Whereas, G.729 performs compression. Therefore, it requires less bandwidth as compared to other codecs such as G.711 and G.722 while transferring the call to the other side. However, the audio quality is much lesser as compared to G.711.


Deep Dive into Codecs


Fax Codecs

Similar to voice codecs, there are different types of fax codecs such as T.30 and T.38. T.30 codec was created before the arrival of the internet and was used for transmitting documents between devices over PSTN. However, the growing popularity of IP meant that a new codec was required. On VoIP.ms T.38 codec is used to transfer documents over the internet without a phone line, also you can send faxes with your email address! Learn how here.


Conclusion


VoIP.ms supports three different types of voice codecs – g.711u, g.729a, and gsm. In addition to this, VoIP.ms also supports T.38 codec, thus allowing you to send faxes over the internet and communicate more effectively for your business.

You want to know how to configure your virtual fax? Read VoIP.ms Wiki entry or contact our support team at [email protected].


______

For More Information, Visit Us at
https://voip.ms or sign up now
to start making calls in under 5 minutes
at https://www.voip.ms/#Signup!

Namespaces
Variants
Actions
VoIP.ms Wiki
Guides 🇨🇦
Guías 🇲🇽