我需要帮助。
TypeError: Cannot read property 'FileProvider' of undefined
当我尝试记录时出现错误。
- 代码:
const options: VideoRecorderOptions = {
hd: true,saveToGallery: true
}
const videorecorder = new VideoRecorder(options)
videorecorder.record().then((data) => {
console.log(data.file)
}).catch((err) => {
console.log(err)
})