|
[其他]
targetSdkVersion设置30后, weChatCamera无法掉起
[复制链接]
targetSdkVersion设置30后, weChatCamera版本为2.0.5无法调起,权限已开启(摄像头,麦克风,存储)
demo.record({
maxDuration: 20,
isBackCamera: true,
}, function (rets, errs) {
console.log('==rets短视频=='+JSON.stringify(rets));
console.log('===errs短视频=='+JSON.stringify(errs));
if (rets.status) {
vm.createmsg('Video',{
videoFilePath:rets.data.videoPath,
type:rets.data.videoPath.split('.')[1],
duration:rets.data.duration,
snapshotPath:rets.data.thumbnailPath
});
}
});
|
|