G711 g723 g729 bandwidth Problems

Source: Internet
Author: User

Bandwidth = package length × packets per second
= Package length × (1/package cycle)
= (Ethernet header + IP header + UDP header + RTP Header + payload) × (1/packaging cycle)
= (208bit + 160bit + 64bit + 96bit + payload) × (1/package cycle)
= (528bit + (package cycle (seconds) × number of bits per second) × (1/package cycle)
= (528/packaging cycle) + bits per second
According to the above formula:
G711: 20 ms package, bandwidth (528/20 + 64) kbit/s = 90.4 kbit/s
G729: 20 ms package, bandwidth (528/20 + 8) kbit/s = 34.4 kbit/s
G723: 5.3 K, 30 ms package, bandwidth (528/30 + 5.3) kbit/s = 22.9 kbit/s
In the industry, the following table lists the IP network bandwidth coefficient and Ethernet bandwidth coefficient to design the network bandwidth:
Encoding/decoding technology compression rate (Kbps) Packaging cycle (MS) IP network bandwidth coefficient Ethernet bandwidth Coefficient
G.711 A/u 64 20 1.25 1.41
G.729 a/B 8 20 0.38 0.54
G.723.1 (5.3 kbit/s) 5.3 30 0.27 0.37
G.723.1 (6.3 kbit/s) 6.3 30 0.25 0.36
H.263 (384 kbit/s) ≈ 384 10 6 6.2
Note: When some encoding method is used, multiply 64 K by the corresponding bandwidth coefficient to obtain the actual bandwidth occupied by the method. Of course, if it is a relay interface, you also need to consider that signaling occupies a certain amount of bandwidth, which is generally calculated according to 2.5%.

If you do not understand the above calculation method, remember the following results:
G711 actual bandwidth usage: 90.4 kbit/s, 100 lines, and 9 Mbps
G729 actual bandwidth usage: 34.4 kbit/s, 100 lines, and 3.4 Mbps
G723 actual bandwidth usage: 22.9 kbit/s, 100 lines, and 2.2 Mbps

Winsip Diagram

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.