VideoDecoder在android以及ios上均无法使用?
使用VideoDecoder解码视频,在android上报错,iOS上无反应直接卡死。试了多种参数配置均无效 最简单的基础api调用无法成功 wx.chooseVideo({
sourceType: ['album'],
success(res) {
let path = res.tempFilePath;
let videoD = wx.createVideoDecoder();
videoD.on('start', (v) => {
console.log('start: ', v);
console.log("frameData", videoD.getFrameData());
});
videoD.on('seek', (e) => {
console.log("seek", e.position);
})
videoD.start({
source: path,
mode: 0
});
}
})
Android报错如下图所示: [图片]