语音编码 Codec 配置说明

codec支持情况,分为2/3G 和ims.

先来说GSM/UMTS

支持情况(参考协议26103 6.2):

 

查看log支持情况(参考协议24008 5.2.1.11)

5.2.1.11          Speech Codec Selection

For speech calls, a mobile station implementing this version of the protocol shall indicate all codecs that it supports for UTRAN in the Supported Codec List information element. Codecs for GERAN shall be indicated in the Bearer Capability information element, if this information element is included.

 

 

首先需要明白如何查看UE当前的codec配置, 本文Log为M*和Q*平台相关log.

2G网络下查看Codec支持情况:

 

3G 网络下查看codec 支持情况

M*平台:

Q*平台:

Q*平台已经在SETUP消息中,supp_codecs中,支持情况可以根据协议来确认bit位所代码的编码方式,也可以直接使用3gpp工具解析,解析出来和M*平台类似。

supp_codecs
   num_codecs = 2 (0x2)
   codecs[0]
   sysid = 4 (0x4)  //UMTS
   length = 2 (0x2)
   bitmap[0] = 96 (0x60) //1100000 support UMTS AMR; UMTS AMR2
   bitmap[1] = 0 (0x0)  //000, not support UTMS AMR WB
   codecs[1]
   sysid = 0 (0x0) //GSM
   length = 2 (0x2)
   bitmap[0] = 31 (0x1f)
   bitmap[1] = 2 (0x2)
protocol 26103 : as follow:
6.2        Codec Bitmap
The Codec Types are coded in the first and second octet of the Codec List Bitmap as follows:

8

7

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值