mail us  |  mail this page

products  |  company  |  support  |  training  |  contact us

Tech Stuff - VoIP CODECs

This section shows some comparisons between three standard CODECs used in VoIP

Note: This table was created when the VoIP world was young. Many newer standards are missing but it still proves the point that you need to consider not just the head-line compression ratio but the sample duration since the normal block overhead can loom exceedingly large on short duration codecs

CODEC Performance

Standard Packet Size Sample
Duration
Data Rate
Bits
PPS
Simplex
G.711 120 15ms 64K 66
G.729A 10 10ms 8K 100
G.723.1 24 30ms 5.3/6.4K 33

Notes:

  1. Figures above are for simplex traffic - normal duplex voice traffic will double these figures.

  2. PPS = packets per second.

IP Overhead and Data Rates

This table compares the same three CODECs adding the following IP overheads:

For a grand total of 40 bytes for non-LAN traffic and either 58 or 62 bytes for a LAN which gives the following real-world VoIP duplex data rates:

Adjusted Data Rates

Standard PPS
Duplex
Raw Data
Duplex
IP Data
Duplex
IP + LAN
Duplex
IP + VLAN
Duplex
G.711 132 128K bits/s 174K bit/s 193K bit/s 198K bit/s
G.729A 200 16K bits/s 80K bit/s 108K bit/s 115K bit/s
G.723.1 66 10.6 or
12.8K bits/s
33K bit/s 43K bit/s 45K bit/s

Notes:

  1. PPS = packets per second.

  2. All figures assume a full duplex conversation.

  3. RFC 2508 defines a method for compressing the RTP overhead from 12 bytes to 4 (including the checksum) which would drop the total data rate for G.723.1 from 33K to 26K a substantial saving.

  4. Unless very slow lines are being used, data rates for all CODECs are reasonable. Transaction rates however depending on the CODEC being used can be frighteningly high and would cripple most modest 8 or 16 bit embedded CPUs.



Problems, comments, suggestions, corrections (including broken links) or something to add? Please take the time from a busy life to 'mail us' (at top of screen), the webmaster (below) or info-support at zytrax. You will have a warm inner glow for the rest of the day.

Tech

tech home
audio stuff
web stuff
dom stuff

css stuff
language stuff
regex stuff
rfc stuff


protocol stuff
cable stuff
lan wiring
rs232 wiring
dec > hex > bin
character sets
data rate stuff
mechanical stuff
howto stuff
survival stuff
wireless stuff
pc stuff
electronic stuff
tech links
open guides
RSS Feed Icon RSS Feed

If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C standards compliant browser such as Firefox

web zytrax.com

Share Page

share page via facebook tweet this page submit page to stumbleupon submit page to reddit.com

Page Features

Page comment feature Send to a friend feature print this page Decrease font size Increase font size

HTML Stuff

W3C HTML 4.01
HTML5 (WHATWG)
HTML4 vs HTML5
HTML5 Reference
W3C Page Validator
W3C DOCTYPE

CSS Stuff

W3C CSS1
W3C CSS2.1

DOM Stuff

W3C DOM
W3C DOM Events
Gecko DOM
MSIE DOM

Usability/Access

usability.gov
W3C -WAI
Web Style Guide
WebAim.org

Jolly Useful

Peter-Paul Koch
A List Apart
Eric Meyer on CSS
glish.com
DOCTYPE definitions

Our Stuff

Our DOM Pages
DOM User Guide
DOM Explorer
DOM Navigation
CSS Techniques
CSS Short Cuts
CSS overview
Oh Really!

Javascript

ECMA-262

Display full width page Full width page

Print this page Print this page

SPF Record Conformant Domain Logo

Copyright © 1994 - 2014 ZyTrax, Inc.
All rights reserved. Legal and Privacy
site by zytrax
Hosted by super.net.sg
web-master at zytrax
Page modified: September 22 2013.