百科
2026-03-28 17:59:14

什么是G.722编解码器?音频优势、技术特点与应用

G.722 是一种由国际电信联盟电信标准化部门(ITU-T)设计的宽带音频编解码器,旨在实现更高质量的语音传输。G.722 专为宽带语音而设计,能够传输更广的人声频谱范围。

贝克电信

什么是G.722编解码器?音频优势、技术特点与应用

G.722是一种宽带语音编解码标准,采用子带自适应差分脉冲编码调制,可传送约7 kHz带宽的语音。它常用于IP电话、会议和企业内部通话。部署时应同时检查终端能力、实际协商结果及整条媒体路径,不能仅凭启用选项就认定所有通话都是宽带音质。

G.722如何处理语音

G.722以16 kHz采样处理音频,将信号分成子带后分别编码。标准包含64、56和48 kbit/s模式;实际设备和互联方式支持哪些模式,应以产品文档及协商结果为准。常见RTP电话应用使用64 kbit/s模式。

宽带语音能够保留比传统窄带电话更宽的声音频率范围,但听感还取决于麦克风、扬声器、声学环境和网络。编码器不能补回源头或中间窄带环节已经丢失的频率内容。

G.722企业宽带语音应用场景图
宽带效果需要终端与整条媒体通路共同支持。 概念示意图,不代表产品规格或测试结果。

为什么RTP中显示8000 Hz

G.722音频采样率是16,000 Hz,但RFC 3551规定其RTP时钟为8,000 Hz,以保持历史互通性。这两个数描述不同的处理层面。看到G722/8000,并不表示设备已把G.722改成窄带编码。

在RTP/AVP中,G.722的静态负载类型为9。检查SDP时,应把负载编号、编码名称、RTP时钟和最终协商结果一起看,不要单独根据一个数字判断音频带宽。

与G.711的选择差别

项目G.711G.722
基础音频范围窄带语音宽带语音
常见编码速率64 kbit/s64 kbit/s模式
主要检查项PCMA或PCMU匹配端到端宽带支持与媒体协商

两者采用64 kbit/s且打包条件相同时,语音负载与基础传输开销可以相近。G.722的主要价值是宽带语音,而不是必然节省带宽;完整网络占用还包括RTP、UDP、IP及其他封装。

企业通话与会议中的应用

企业内部分机、免提电话和会议终端可以在整条通路支持时使用G.722。外线若经过仅支持窄带的中继或网关,可能发生转码或降级。录音、会议混音和媒体代理也需要纳入兼容性检查。

回声消除、降噪和丢包掩盖属于终端或处理链的能力,不能仅凭G.722名称推定具备。G.722.1和G.722.2是不同标准,不能当作G.722的可互换名称。

启用G.722只是允许参与协商;是否真正使用,需查看这一次通话的媒体结果。

部署检查与故障定位

  1. 核对终端、PBX、SBC、中继及录音设备的支持范围。
  2. 检查编解码优先级和实际SDP协商结果。
  3. 确认没有中间环节强制转成窄带编码。
  4. 按打包间隔与并发数计算完整带宽。
  5. 测试双向语音、会议和外线,并观察时延、抖动与丢包。

若通话已协商G.722但声音仍差,应继续检查拾音距离、音量、回声和网络。不要把所有质量问题都归因于编解码器。

SDP中的G.722媒体描述示例

以下是说明RFC 3551中RTP/AVP映射的媒体段片段,不是完整SDP会话,也不是具体设备配置。

SDP · G.722 / RTP

m=audio 49170 RTP/AVP 9
a=rtpmap:9 G722/8000
a=ptime:20

9是该配置类型下G.722的静态负载编号,49170为示例媒体端口。G722/8000使用8 kHz的RTP时钟,而音频采样率为16 kHz。ptime提出每包20 ms的媒体时长。应核对对端应答和实际包,不能假定发出的提议已被接受。

G.722会议与免提通话场景图
回声消除属于终端或处理链的独立能力,不能根据G.722编码名称推定。 概念示意图,不代表产品规格或测试结果。

常见问题

G.722等于HD Voice吗?

不完全相同。HD Voice是较宽泛的体验或产品表述;G.722是实现宽带语音的一种具体标准。

G722/8000是不是配置错了?

通常不是。G.722采用16 kHz音频采样,但其RTP时钟按RFC 3551保留为8 kHz。

电话启用G.722后,外线也一定是宽带吗?

不一定。对端、中继、网关、会议及录音链路都可能限制音频范围,需要验证端到端实际路径。

相关产品与技术资源

相关技术阅读

推荐产品
目录
客服 电话
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .