Android使用createInnerAudioContext无法播放amr?
发布于 5 年前 作者 xiuying09 11726 次浏览 来自 官方Issues

小米8   Android 9

SDK 2.8.1

微信版本 7.0.6


使用wx.createInnerAudioContext之后设置src为

http://test.basegps.com/eb7ef5be1b03dff35f83b80360b2de0c.amr

的amr格式的录音文件,播放时提示10004

该amr音频文件的格式信息为

Format                                   : AMR

Format/Info                            : Adaptive Multi-Rate

Format profile                        : Narrow band

Duration                                 : 2 min 4 s

Bit rate mode                         : Constant

Bit rate                                   : 12.8 kb/s

Channel(s)                             : 1 channel

Sampling rate                         : 8 000 Hz

Bit depth                                 : 13 bits

Stream size                            : 194 KiB (100%)

1 回复

是下在会话中直接打开可以吗?

回到顶部