diff --git a/entry/src/main/ets/common/service/videoService.ts b/entry/src/main/ets/common/service/videoService.ts index d443480b..7938f93c 100644 --- a/entry/src/main/ets/common/service/videoService.ts +++ b/entry/src/main/ets/common/service/videoService.ts @@ -238,9 +238,9 @@ export async function takePhoto(param, context, dir, flag = 1, callback?) { } else { return new Promise(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);