拍照落盘修改
This commit is contained in:
parent
23f8e37a3a
commit
0dd29a1fec
@ -238,9 +238,9 @@ export async function takePhoto(param, context, dir, flag = 1, callback?) {
|
||||
|
||||
} else {
|
||||
return new Promise<takePhotoParam>(async (resolve, reject) => {
|
||||
const time = await getCurrentTime()
|
||||
const date = time.split(' ')[0]
|
||||
let dirName = dir ? dir : date
|
||||
// const time = await getCurrentTime()
|
||||
// const date = time.split(' ')[0]
|
||||
// let dirName = dir ? dir : date
|
||||
rtsp_server.detectVideoSnapshotSize(video_uri, fileName, true, (err, snapResult) => {
|
||||
if (snapResult.result && snapResult.errorCode == 0) {
|
||||
console.log("baohaowen_detectLoop round end size1:" + snapResult.fileSize, snapResult.dataString);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user