使用wx.startRecord录制视频,wx.uploadFile上传到服务器报错uploadFile:fail errcode:-101 cronet_error_code:-101 error_msg:net::ERR_CONNECTION_RESET
wx.stopRecord({
success: (file) => {
wx.uploadFile({
url: 'https://',
filePath: file.tempVideoPath,
fail(res) {
console.log('这里返回报错uploadFile:fail errcode:-101 cronet_error_code:-101 error_msg:net::ERR_CONNECTION_RESET',res);
}
)}
},
})
你意思是说录视频然后上传才会出错?