百科全書
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 .