调用背景音乐直播直播mp3,安卓正常,ios无法播放,errcode10003
发布于 6 年前 作者 fangyu 1474 次浏览 来自 问答

播放m3u8点播视频时没有进度条,无法seek(ios,Android 表现一样)。同等环境下Andriodk可播放,ios卡死

const backgroundAudioManager = wx.getBackgroundAudioManager();

let that = this;

wx.showLoading({

title: ‘音频加载中’,

})

backgroundAudioManager.title = that.data.title;

backgroundAudioManager.epname = that.data.epname;

backgroundAudioManager.singer = ‘许巍’;

backgroundAudioManager.coverImgUrl = that.data.coverImgUrl;

// 设置了 src 之后会自动播放

backgroundAudioManager.src = that.data.src;

//开始播放

backgroundAudioManager.play();

调用背景音乐接口,点播MP3,安卓,ios都可正常播放。直播MP3,ios无法播放,errcode:10003.安卓正常播放。

点播aac,ios正常播放,安卓无法播放,提示文件格式错误

2 回复

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

iphone6splus,vivox7,华为nova,微信版本都是Version7.0.3,不知道代码片段怎么提供?

回到顶部