设备: iPhone xs
stop后报错;
代码如下:
record = wx.createMediaRecorder(cs,{
duration:5,
fps: 15
});
record.on('start', function(){
console.log('start record', arguments)
})
record.on('stop', function({tempFilePath, duration, fileSize}){
console.log('stop ');
console.log(tempFilePath, fileSize)
_this.setData({
tempFilePath,
fileSize
})
})
record.start();
<button bindtouchstart="stopRecord">停止录制</button>
stopRecord(){
record.stop();
},
你好,问题解决了吗
大概什么时候呢?
你好,其他机型会出现问题吗?