!!! See/Check also the article at the voice section !!!
Total = (L2 Header + IP Header (UDP/RTP) + Voice Payload) * 8 (bit/byte)
PPS = Codec Bit Rate / Voice Payload
Bandwith = Total * PPS
L2 Header:
- 6 MF
- 18 IP
IP Header:
- 40
- 2 or 4 with cRTP (4 = with UDP checksum)
examples:
1 G729 call consumes (20.3):
Total = L2 + IP/UDP/RTP header + VoicePayload
-> Total = 6 (g729) + 40 + 30 = 76
PPS = codec bit rate / voice payload
-> PPS = 8 kbp/s / 30 = 0.2666666
Bandwith = tot PPS * PPS
-> Bandwith = 76 * 0.266666 = 20.3
(40 + 18 + 160) * 8 = 218 * 8
33 pps = 64000 / x
calculation is made as follows:
bandwith (Ethernet) = (18+160+40 = 218) * (64 / 160) = 218 * 0,4 = 87,2
bandwith (without cRTP) = (6+160+40 = 206) * (64 / 160) = 206 * 0,4 = 82,2
bandwith (with cRTP) = (6+160+4 = 170) * (64 / 160) = 170 * 0,4 = 68,0
| Packet voice transmission requirements (Bits per second per voice channel) |
|||||||||||
| Codec | Voice bit rate | Sample time | Voice payload | Packets per second | Ethernet |
|
|||||
| G.711 | 64 Kbps | 20 msec | 160 bytes | 50 | 87.2 Kbps | 82.4 Kbps | 68.0 Kbps | ||||
| G.711 | 64 Kbps | 30 msec | 240 bytes | 33.3 | 79.4 Kbps | 76.2 Kbps | 66.6 Kbps | ||||
| G.711 | 64 Kbps | 40 msec | 320 bytes | 25 | 75.6 Kbps | 73.2 Kbps | 66.0 Kbps | ||||
| G.729A | 8 Kbps | 20 msec | 20 bytes | 50 | 31.2 Kbps | 26.4 Kbps | 12.0 Kbps | ||||
| G.729A | 8 Kbps | 30 msec | 30 bytes | 33.3 | 23.4 Kbps | 20.2 Kbps | 10.7 Kbps | ||||
| G.729A | 8 Kbps | 40 msec | 40 bytes | 25 | 19.6 Kbps | 17.2 Kbps | 10.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 |
|||||||||||