Internet Bandwidth consumed in making VoIP calls


This one is bit technical. As many of us have started making voice calls on the IP in our smartphones, I thought many of you would be interested to know how much internet bandwidth is consumed if you make a one minute of Voive call on IP i.e. VoIP call. Caveat - Some of highly technical stuff required cross-authentication from Geeks  (Learnt this from Wiki)

Here you go.....

Number of Bytes Consumed in VOIP

To know exactly how many bytes a voice conversation consumes, one needs to know which codec her VoIP service is using. 

CODECS 
A codec is a compression engine that transforms your (analog) voice into digital data, removing the silent moments (which make up to half of all conversations), and do other things to render the data load as light as possible. A codec is an algorithm (sort of a computer program), most of the time installed as a software on a server or embedded within a piece of hardware (IP Phones), that is used to convert voice (in the case of VoIP) signals into digital data to be transmitted over the Internet or any network during a VoIP call.
The word codec comes from the composed words coder-decoder or compressor-decompressor. Codecs normally achieve the following three tasks :
  • Encoding – decoding
  • Compression – decompression
  • Encryption - Decryption

Encoding - decoding

Codec digitizes your analog voice to digital. When you talk over normal landline phone, your voice is transported in an analog way. But with VoIP, your voice is converted into digital signals. This conversion is technically called encoding, and is achieved by a codec. At destination, digitized voice is to be decoded back to its original analog state so that the other person can hear and understand it.

Compression – decompression

Bandwidth is a scarce commodity. To make the digitized voice less bulky, it is compressed. By compression, the same data is stored but using lesser space (digital bits). Once it reaches its destination, it is decompressed back to it original state before being decoded. 
Encryption – decryption
Encryption is one of the best tools for achieving security. It is the process of changing data into such a state that it no one can understand. This way, even if the encrypted data is intercepted by unauthorized people, the data still remains confidential. Once the encrypted data reaches destination, it is decrypted back to its original form. Often, when data is compressed, it already is encrypted to a certain extent, since it is altered from its original state.

Common VoIP Codecs

CodecBandwidth/kbpsComments
G.71164Delivers precise speech transmission. low processor requirements. Needs at least 128 kbps for two-way.
G.72248/56/64Adapts to varying compressions 
G.723.15.3/6.3High compression with high quality audio.  Lot of processor power.
G.72616/24/32/40An improved version of G.721 and G.723 (different from G.723.1)
G.7298Excellent bandwidth utilization. Error tolerant. License required.
GSM13High compression ratio. Free and available in many hardware and software platforms. 
iLBC15Robust to packet loss. Free
Speex2.15 / 44Minimizes bandwidth usage by using variable bit rate.
The approximate values for data consumption of the most common codecs used for VoIP are as follows:
Codec      BR                     NEB
G.711      64 Kbps      87.2 Kbps
G.729      8 Kbps        31.2 Kbps
G.723.1   6.4 Kbps      21.9 Kbps
G.723.1   5.3 Kbps      20.8 Kbps
G.726      32 Kbps      55.2 Kbps
G.726      24 Kbps      47.2 Kbps
G.728      16 Kbps      31.5 Kbps
iLBC         15 Kbps      27.7 Kbps

BR = Bit rate
NEB = Nominal Ethernet Bandwidth (one direction)

Note  - The G.729 codec is one of the best performing voice codecs and most good VoIP services use it.


Calculation of Bandwidth required
Example - for one minute of talk with the G.729 codec.

Now G.729 uses 8kpbs of sampling. Normally one packet of 20 Bytes is sent. With a sampling rate of 8kpbs this means that in one sec, 50 packets are to be sent.
If we are using frame relay protocol over ethernet, the overheads to be used are as follows - 
Frame relay - 6 Bytes(incl header and trailer)
RTP - 40 bytes (breakup 20 bytes of IP, RTP-12 & UDP - 8) [Note if cRTP is used these 40 Bytes can be converted into 4 Bytes]
Ethernet - 18 bytes
Therefore, for each packet of 20 bytes in this case 64 Bytes of protocol and other header bytes are added. Therefore total 84 Bytes will be send. Overall 50 such packets are semt per sec, therefore bit rate is 50*84*8= 33.6 kbps (Mentioned as ~32 kpbs)
This translates into 1920 kilobits (60 x 32) in one minute, which in turn is 240 kilobytes (KB) per minute (1 byte is 8 bits). Now that’s only for the data going out. Inbound data (which also counts) takes the same load, so one can double the figure to 480 KB. This gives a round value to 0.5 MB per minute of conversation.

However, there are many parameters, that are rather technical in nature, affecting the values above. Among them are the compression technology, the size (payload) of the voice packets, the intervals at which they are sent, packet overhead, network protocol used and whether silence suppression is used. (Pl refer table below). If silence suppression/voice activity detection is used, the bandwidth consumption may drop 50%

Packet voice transmission requirements
(Bits per second per voice channel)
CodecVoice bit rateSample timeVoice payloadPackets per secondEthernet
PPP or Frame Relay
RTPcRTP
G.71164 Kbps20 msec160 bytes5087.2 Kbps82.4 Kbps68.0 Kbps
G.71164 Kbps30 msec240 bytes33.379.4 Kbps76.2 Kbps66.6 Kbps
G.71164 Kbps40 msec320 bytes2575.6 Kbps73.2 Kbps66.0 Kbps
G.729A8 Kbps20 msec20 bytes5031.2 Kbps26.4 Kbps12.0 Kbps
G.729A8 Kbps30 msec30 bytes33.323.4 Kbps20.2 Kbps10.7 Kbps
G.729A8 Kbps40 msec40 bytes2519.6 Kbps17.2 Kbps10.0 Kbps
Note: RTP assumes 40-octets RTP/UDP/IP overhead per packet
Compressed RTP (cRTP) assumes 4-octets RTP/UDP/IP overhead per packet
Ethernet overhead adds 18-octets per packet
PPP/Frame Relay overhead adds 6-octets per packet
If we take the value of 50 kbps for any codec, it will give (after calculations and approximations) 0.75 MB per minute of conversation.

No comments:

Search your favourite topic

3G (23) 4G (10) africa broadband (2) African Telecom (3) Aircell (4) airtel (20) Android (4) Apple (6) Asia Pacific Telecom market (8) bharti (7) broadband (39) Broadcasting (1) BSNL (10) CDMA (10) china mobile (37) China Telecom Market (13) cross media ownership (1) digital divide (3) DoCoMo (3) DoT (3) DTH (1) EDGE (2) Enterprise Telecom Business (5) ericsson (4) etisalat (1) European Telecom market (9) EVDO (1) FCC (2) fixed line market (1) fixed mobile convergence (2) forecasts for mobile market (5) GTL (1) HSPA (7) Huawei (2) idea (10) India 3G (47) India CDMA (50) India GSM (60) India Mobile (48) infrastructure sharing (6) International Long Distance (3) Internet service providers (3) Intra Circle Roaming (1) Ipad (1) IPTV (5) ITU (1) largetst telecom operator (6) latest telecom news (54) LG (2) LTE (10) M-commerce (4) Managed networks (2) Maxis (3) Middle Eastern telecom market (6) MIMO (1) mobile (21) mobile advertising (2) Mobile banking (5) mobile handsets (14) Motorola (3) MTNL (3) MVNO (2) Next Generation Networks (1) nokia (7) Nokia Siemens (1) number portability (6) OFDMA (1) QUALCOMM (1) Reliance Communications (16) RIM (2) Rural broadband (1) rural mobile infrastructure (9) Russia (1) Samsung (4) satellite communications (1) Smart Pad (1) Smartphone (3) Sony Ericsson (2) South East Asian Market (3) Spectrum (9) Spice (1) strategy for mobile operators (63) Symbian (1) Tablet (3) Tariff (1) Tata Communications (2) Tata Teleservices (5) TD-SCDMA (2) Telcordia (1) Tele-density (4) telecom equipment (22) Telecom growth projections (13) Telecom Market India (57) telecom market share (17) telecom operator strategy (40) telecom policy (32) Telecom regulation (7) telecom sector india (31) TRAI (13) Unique Identification Authority of India (1) US Telecom market (11) USO fund (4) VAS (2) verizon (6) Virgin (1) Vodafone (1) vodafone india (11) VoIP (5) VSNL (2) WAN (1) WCDMA (4) WiBro (1) WiFI (13) WiMAX (20) wireless broadband (43) wireless US (12) WMAN (1) Yota (1) Zain (1) ZTE (2)