Skip to content

Instantly share code, notes, and snippets.

@crok
Last active January 31, 2019 19:40
Show Gist options
  • Save crok/79e05a99d76dc020d57b231303c79d3d to your computer and use it in GitHub Desktop.
Save crok/79e05a99d76dc020d57b231303c79d3d to your computer and use it in GitHub Desktop.
Voice codecs and their properties and stuff
Codec Information | Bandwidth Calculations
______________________________________________________________________|_______________________________________________________________________________________________________________________
Codec & Bit Rate (Kbps) | Codec Sample | Codec Sample | Mean Opinion | Voice Payload | Voice Payload | Packets Per | Bandwidth MP or | Bandwidth w/cRTP MP | Bandwidth
| Size (Bytes) | Interval (ms) | Score (MOS) | Size (Bytes) | Size (ms) | Second (PPS) | FRF.12 (Kbps) | or FRF.12 (Kbps) | Ethernet (Kbps)
------------------------|--------------|---------------|--------------|---------------|---------------|--------------|-----------------|---------------------|----------------
G.711 (64 Kbps) | 80 | 10 | 4.1 | 160 | 20 | 50 | 82.8 | 67.6 | 87.2
G.729 (8 Kbps) | 10 | 10 | 3.92 | 20 | 20 | 50 | 26.8 | 11.6 | 31.2
G.723.1 (6.3 Kbps) | 24 | 30 | 3.9 | 24 | 30 | 33.3 | 18.9 | 8.8 | 21.9
G.723.1 (5.3 Kbps) | 20 | 30 | 3.8 | 20 | 30 | 33.3 | 17.9 | 7.7 | 20.8
G.726 (32 Kbps) | 20 | 5 | 3.85 | 80 | 20 | 50 | 50.8 | 35.6 | 55.2
G.726 (24 Kbps) | 15 | 5 | | 60 | 20 | 50 | 42.8 | 27.6 | 47.2
G.728 (16 Kbps) | 10 | 5 | 3.61 | 60 | 30 | 33.3 | 28.5 | 18.4 | 31.5
G.722_64k(64 Kbps) | 80 | 10 | 4.13 | 160 | 20 | 50 | 82.8 | 67.6 | 87.2
ilbc_mode_20(15.2Kbps) | 34 | 20 | | 38 | 20 | 50 | 34.0 | 18.8 | 38.4
ilbc_mode_30(13.33Kbps) | 50 | 30 | | 50 | 30 | 33.3 | 25.8 | 15.73 | 28.8
Codec | Voice Payload | Voice Payload
| Size (ms) | Size (Bytes)
------|---------------|---------------
G.711 | 20(def) | 160
| 30 | 240
G.729 | 20(def) | 20
| 30 | 30
G.723 | 30(def) |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment