获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
我也是,解决了吗?
画面录制器的MediaRecorder.stop()回调报错?[图片] wxml: <view class="container" id="aaa"> adfasdfasdf <button bindtap="startVideo">录制</button> </view> js: startVideo(){ let query = wx.createSelectorQuery() let el = query.select("#aaa") let video = wx.createMediaRecorder(el,{duration: 7200}) video.on('stop',function (e){ console.log(e) }) video.on('start',function (){ console.log('aaaaaaaaaaaaa') }) video.start() console.log(video) setTimeout(() => { video.stop() },5000) } }) start的回调没问题 stop的回调报错code:601
2021-01-25