微信的播放语音接口(wx.playVoice),成功回调但播放时没有声音,是为什么?
[代码]playRecord : [代码][代码]function[代码] [代码](serverId)[代码][代码] [代码][代码]{[代码][代码] [代码][代码]var[代码] [代码]_this = [代码][代码]this[代码][代码];[代码][代码] [代码][代码]var[代码] [代码]localId = [代码][代码]""[代码][代码];[代码][代码] [代码][代码]wx.downloadVoice({[代码][代码] [代码][代码]serverId: serverId, [代码][代码]// 需要下载的音频的服务器端ID,由uploadVoice接口获得[代码][代码] [代码][代码]isShowProgressTips: 1, [代码][代码]// 默认为1,显示进度提示[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]localId = res.localId; [代码][代码]// 返回音频的本地ID[代码][代码] [代码][代码]wx.playVoice({[代码][代码] [代码][代码]localId: localId,[代码] [代码] success:function(res){[代码] [代码] console.log("播放成功");[代码] [代码] }[代码] [代码] [代码][代码]});[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]alert([代码][代码]"语音下载失败"[代码][代码]);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]},[代码]具体问题:使用语音播放接口可以正常播放,但在使用wx.playVoice接口34次(这个次数是自己用3台安卓手机测出来的,苹果手机好像没有问题)之后,就无法放出声音,但是wx.playVoice的success回调函数成功执行。