- ios部分用户打开小程序黑屏?
这里是用户日志:https://qiyouqiu.oss-cn-hangzhou.aliyuncs.com/uploads/20241105/905cd0bd8d3cbf616610c891c33d3d83.log
11-05 - ios部分用户打开小程序黑屏?
很多用户扫码打开我们小程序后会跳到一个新页面然后黑屏了,全部都是ios用户才会出现。
11-05 - ios部分用户打开小程序白屏?
[图片] [图片] [图片]
09-23 - ios部分用户打开小程序白屏
[图片] [图片] [图片]
09-23 - getFrameData()返回null?
let videoContext = wx.createVideoContext(event.currentTarget.id, this); //获取视频上下文 let decoder = wx.createVideoDecoder(); //创建解码器 // 监听解码帧数据 decoder.on('start', (res) => { console.log('start', res); decoder.seek(1); }); function loop() { console.log(decoder.getFrameData(), "看看"); } decoder.on('seek', (e) => { console.log(e, 'seek', "是否触发了"); console.log(decoder.getFrameData(), "看看"); }) decoder.start({ source: res.tempFilePath });
07-24 - wx.saveVideoToPhotosAlbum IOS 报错fail inalid video?
安卓和模拟器可以保存唯独IOS不能保存报错fail inalid video
07-19 - wx.saveVideoToPhotosAlbum IOS 报错fail inalid video?
this.mediaContainer.extractDataSource({ source: url, success: (res) => { uni.showLoading({ title: '正在下载...', mask: true }) let mediaTrack = null; let audioTrack = null; for (let i = 0; i < res.tracks.length; i++) { if (res.tracks[i].kind == 'video') { mediaTrack = res.tracks[i]; } if (res.tracks[i].kind == 'audio') { audioTrack = res.tracks[i]; } } this.mediaContainer.addTrack(mediaTrack); //将视频轨道加入到待合成容器中 this.mediaContainer.addTrack(audioTrack); // 将音频轨道加入到待合成容器中 // 导出合成容器中的音频和视频 this.mediaContainer.export({ success: (data) => { let { tempFilePath } = data; this.src = tempFilePath; uni.hideLoading() this.mediaContainer.removeTrack(mediaTrack) this.mediaContainer.removeTrack(audioTrack) // 保存到本地 wx.saveVideoToPhotosAlbum({ filePath: tempFilePath, success(result) { console.log(result, "保存成功"); }, fail(err) { console.log(err, "保存失败"); } }) }, fail: (err) => { uni.hideLoading(); this.showtt('下载失败') } }); }, fail: (err) => { console.log(err, "视频源分离失败"); } });
07-19 - VideoDecoder.start开始解码真机报错?
[图片] 报错内容: (in promise) MiniProgramError errType: 1, errCode: 601, errMsg: parser init failed Error: errType: 1, errCode: 601, errMsg: parser init failed at fail (WAServiceMainContext.js:1:657468) at p (WAServiceMainContext.js:1:166558) at Qu (WAServiceMainContext.js:1:664581) at td (WAServiceMainContext.js:1:665313) at (WAServiceMainContext.js:1:665512) at r (WAServiceMainContext.js:1:651011) at s (WAServiceMainContext.js:1:126630) at callAndRemove (WAServiceMainContext.js:1:119038) at invokeCallbackHandler (WAServiceMainContext.js:1:124637)
07-17