- 创建了六个 wx.createVideoDecoder() 执行视频解码,小米手机上二次之后就报错?
WAServiceMainContext.js:formatted:22381 (in promise) MiniProgramError playerStart failed Error: playerStart failed at (WAServiceMainContext.js:1:1843603) at (WAServiceMainContext.js:1:1108731) errorReport@WAServiceMainContext.js:formatted:22381thirdErrorReport@WAServiceMainContext.js:formatted:22340(anonymous)@WAServiceMainContext.js:formatted:22525i@WASubContext.js:1(anonymous)@WASubContext.js:1_privEmit@WASubContext.js:1emit@WASubContext.js:1(anonymous)@WASubContext.js:1n@WASubContext.js:1Fe@WASubContext.js:1We@WASubContext.js:1Q@WASubContext.js:1(anonymous)@WASubContext.js:1f@WASubContext.js:1(anonymous)@WASubContext.js:1(anonymous)@WASubContext.js:1(anonymous)@WASubContext.js:1p@WAServiceMainContext.js:formatted:21463(anonymous)@WAServiceMainContext.js:formatted:21496(anonymous)@WAServiceMainContext.js:formatted:20855(anonymous)@VM75:407listOnTimeout@node:internal/timers:568processTimers@node:internal/timers:511
11-20 - video组件加载m3u8文件时,ios下ts路径为绝对路径无法播放?
只有ios有这个问题[图片]
11-14 - 小米手机上执行VideoDecoder,多次执行后异常?
[图片]
10-30 - wx.enableAlertBeforeUnload经测试手势返回是可以拦截的,文档上是否没修改?
[图片] 在 skyline 模式下真机手势、点击按钮都不能触发拦截 "renderer": "skyline", "rendererOptions": { "skyline": { "defaultDisplayBlock": true, "disableABTest": true, "sdkVersionBegin": "3.0.0", "sdkVersionEnd": "15.255.255" } }, "componentFramework": "glass-easel",
09-18 - 创建多个 wx.createVideoDecoder()同时解码多个视频,解码结束后视频帧数据不对?
创建多个 wx.createVideoDecoder()同时解码多个视频,解码结束后视频帧数据不对? videoDecoder: async function (localFile,id) { const canvas = wx.createOffscreenCanvas({ type: '2d', width: this.data.canvasWidth, height:this.data.canvasHeight }) let decoder = wx.createVideoDecoder(); await decoder.start({ abortAudio: true, source: localFile }) //监听解码结束 this.ended = false; const _this = this decoder.on('ended', () => { _this.ended = true; }) //监听seek事件 decoder.on('seek', () => { console.log('开始解码',new Date()) _this.frameImage(decoder, canvas,id); }) decoder.seek(0) },
08-12 - 使用插件一直待确认?
[图片]
03-27 - backgroundfetch privacy fail {"errno":101,真机调试报错?
[图片]
03-27 - wxml-to-canvas 渲染返回结果异常?
使用的官方例子:https://developers.weixin.qq.com/s/r6UBlEm17pc6 renderToCanvas() { console.log('执行渲染到canvas') const p1 = this.widget.renderToCanvas({ wxml, style }) console.log('==>p1',p1) p1.then((res) => { console.log('container', res.layoutBox) this.container = res }).catch((err)=>{ console.log('执行异常',err) }) }, [图片] result undefined 导致container 为空;catch捕获出来的err也是undefined
03-14 - wx.showModal点击确认wx.exitMiniProgram失效?
点击注销账户,需要二次确认。确认后执行推出小程序,{"errMsg": "exitMiniProgram:fail can only be invoked by user TAP gesture."}
03-13 - 真机上视频提示MEDIA_ERR_DECODE?
MEDIA_ERR_DECODE(-11001,11010002) 开发工具上视频播放没问题,真机上同一个视频播放出先解码错误问题
01-09