IOS13.6IOS16.6微信版本8.0.41调用createInnerAudioCon没有声音?
IOS13.6IOS16.6微信版本8.0.41调用createInnerAudioCon没有声音,开发者工具正常,安卓真机正常,安卓体验版正常,ios真机,体验版都无法播放,手机没有静音 const audioContext = wx.createInnerAudioContext();
audioContext.autoplay = true;
audioContext.src = voiceUrl;
audioContext.onPlay(() => {
console.log('开始播放')
})
audioContext.onStop((res) => {
console.log('停止播放')
});
audioContext.play();