- 安卓createInnerAudioContext播放不了aac格式语音
- 当前 Bug 的表现(可附上截图) [图片] - 预期表现 安卓音频播放10004 - 复现路径 pages/index/index - 提供一个最简复现 Demo [代码]Page({[代码][代码] [代码][代码]data: {[代码][代码] [代码][代码]innerAudioContext:[代码][代码]null[代码][代码] [代码][代码]},[代码][代码] [代码][代码]onLoad (options) {[代码][代码] [代码][代码]//创建音频[代码][代码] [代码][代码]this[代码][代码].innerAudioContext = wx.createInnerAudioContext()[代码][代码] [代码][代码]this[代码][代码].innerAudioContext.onError((res) => {[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码] [代码][代码]play () {[代码][代码] [代码][代码]let src = [代码][代码]"https://img.hyqfx.com/u/content/2018/0926/1423238690.aac"[代码][代码] [代码][代码]if[代码] [代码]([代码][代码]this[代码][代码].innerAudioContext.paused){[代码][代码] [代码][代码]this[代码][代码].innerAudioContext.src = src;[代码][代码] [代码][代码]this[代码][代码].innerAudioContext.play()[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码]})[代码]
2018-09-27 - innerAudioContext无法播放ADTS头的aac文件
使用 innerAudioContext 播放音频 ADTS头的aac无法播放,提示格式错误: http://techslides.com/demos/samples/sample.aac ADIF头的aac可以播放: http://techslides.com/demos/samples/sample.m4a
2018-05-21