- 小程序横屏录像变形
ios下横屏录像,视频变形[图片]
2018-12-07 - 微信小程序stopRecord()停止录制调用无反应
- 当前 Bug 的表现(可附上截图) [代码]endVideo() {[代码][代码] [代码][代码]var[代码] [代码]that = [代码][代码]this[代码][代码];[代码][代码] [代码][代码]console.log([代码][代码]'停止录制'[代码][代码])[代码][代码] [代码][代码]this[代码][代码].CameraContext.stopRecord({[代码][代码] [代码][代码]success: [代码][代码]function[代码][代码](res) {[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]that.videoSrc=res.tempVideoPath;[代码][代码] [代码][代码]that.VideoContext = wx.createVideoContext([代码][代码]'answerVideo'[代码][代码], that);[代码][代码] that.VideoContext.play();[代码][代码] [代码][代码]that.recordIng = [代码][代码]'hide'[代码][代码];[代码][代码] [代码][代码]that.endRecord = [代码][代码]'show'[代码][代码];[代码][代码] [代码][代码]that.CameraContext=[代码][代码]null[代码][代码];[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail:[代码][代码]function[代码][代码](){[代码][代码] [代码][代码]console.log([代码][代码]'录制错误'[代码][代码])[代码][代码] [代码][代码]},[代码][代码] [代码][代码]complete:[代码][代码]function[代码][代码](){[代码][代码] [代码][代码]console.log([代码][代码]'调用结束'[代码][代码])[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码] - 预期表现 调用CameraContext.stopRecord()API执行其success回调函数 - 复现路径 ios端都有出现CameraContext.startRecord录制时长大于一分钟后调用CameraContext.stopRecord无反应 安卓端 - 提供一个最简复现 Demo
2018-12-04