- 通过video组件播放视频时卡顿,怎么解决?
苹果部分手机在小程序使用video组件播放视频时,播放画面会开始卡顿,声音播放流畅,目前在 iPhone7,iPhone12,iPhoneX 这三个苹果机型,微信版本号 8.0.38 有发现,安卓手机播放正常 出现问题微信手机日志已上传 微信号:WXNtracy 视频src:https://teach-1309941439.cos.ap-chengdu.myqcloud.com/a67dfc374b2841d980c17141581e0f01.mp4
2023-07-12 - 企业微信中CameraContext.startRecord调用报startRecord fail?
小米手机企业微信中开发录像功能,CameraContext.startRecord报errMsg:“operateCamera:fail:startRecord fail” <view class="camera" :style="{top:top_height+45+'px'}"> <camera device-position="front" flash="off" @initdone="startRecord" style="width:45px;height:45px"></camera> </view> startRecord(e){ console.log(e); let that=this; uni.getSystemInfo({ success(res) { that.top_height = res.statusBarHeight; } }); const ctx=uni.createCameraContext(); console.log(ctx); console.log('准备录制'); ctx.startRecord({ timeout:that.videoTime, success: (res) => { console.log('开始录像') console.log(res); that.videoing=true; }, timeoutCallback:function(res){//超出录制时长 console.log(res); that.video=res; that.videoing=false; }, fail:(res)=>{ console.log('开始录像失败') console.log(res) } }); }, [图片]
2022-05-23