楼主解决了么
setVisualEffectOnCapture部分安卓手机禁止录屏了还是录制了声音,怎么解决?setVisualEffectOnCapture部分安卓手机禁止录屏了还是录制了声音,怎么解决?
07-19页面video标签过多会出现-4003的报错,出现这个问题的可以检查下页面video的个数。PS: 华为JLN-AL00测试的结果是不能超过4个。
微信小程序video播放报错 MEDIA_ERR_DECODE(-4003,-1),有办法解决吗?主要是我想问下 MEDIA_ERR_DECODE(-4003,-1) 这个状态码是因为什么?
05-08可以尝试下: 1.注册session的requestAnimationFrame回调 2.在该回调里调用getVKFrame
使用createVKSession无法触发updateAnchors,检测不到人脸?onReady: function (e) { this.session = wx.createVKSession({ track: { face: { mode: 1 } // mode: 1 - 使用摄像头;2 - 手动传入图像 }, }); this.startDetecting(); }, takePhoto() { const ctx = wx.createCameraContext() console.log('Taking photo...'); ctx.takePhoto({ quality: 'high', success: (res) => { console.log('Photo taken successfully.'); this.setData({ src: res.tempImagePath }) }, fail: (err) => { console.log('Failed to take photo: ', err); } }) }, error(e) { console.log('Camera error: ', e.detail); }, startDetecting: function () { this.session.on('updateAnchors', anchors => { console.log('updateAnchors', anchors); anchors.forEach(anchor => { console.log('anchor.points', anchor.points) console.log('anchor.origin', anchor.origin) console.log('anchor.size', anchor.size) console.log('anchor.angle', anchor.angle) }); }); this.session.on('removeAnchors', () => { console.log('removeAnchors'); }); this.session.start(errno => { if (errno) { console.log("VKSession start failed: ", errno); } else { console.log("VKSession start successfully"); } }); }, stopDetecting: function () { this.session.stop(); },
03-19