...
|
...
|
@@ -95,6 +95,7 @@ public class UfoLiveService { |
|
|
String filePath = null;
|
|
|
|
|
|
Integer cameraCode = queryInitCameraCode(req);
|
|
|
LOGGER.info("generateMp4 video stream cameraCode is {}",cameraCode);
|
|
|
if (!configReader.getBoolean("appress.video.close" + cameraCode, false)) { // 判断是否不需要直播切流的方式生成鉴定视频,而有NVR生成
|
|
|
LOGGER.info("no need generate video stream");
|
|
|
} else if (configReader.getBoolean("appress.video.back.enable" + cameraCode, false)) { //启用备份视频流
|
...
|
...
|
@@ -121,7 +122,7 @@ public class UfoLiveService { |
|
|
|
|
|
saveRecord(req, filePath, persistId, userId);
|
|
|
|
|
|
LOGGER.info("method UfoLiveService.generateMp4 end, QNliveReq is {}, persistId is {}", req, persistId);
|
|
|
LOGGER.info("method UfoLiveService.generateMp4 end, QNliveReq is {}, persistId is {},filePath is {}", req, persistId,filePath);
|
|
|
}
|
|
|
|
|
|
// 保存记录
|
...
|
...
|
|