|
@@ -384,7 +384,6 @@ public class CameraUtil {
|
|
public void deleteFlvExceed() throws IOException, InterruptedException {
|
|
public void deleteFlvExceed() throws IOException, InterruptedException {
|
|
//字典中设置的值
|
|
//字典中设置的值
|
|
List<SysDictData> sysCameraRecordTime = dictDataMapper.selectDictDataByType("sys_camera_record_time");
|
|
List<SysDictData> sysCameraRecordTime = dictDataMapper.selectDictDataByType("sys_camera_record_time");
|
|
- log.info("sysCameraRecordTime======================================" + sysCameraRecordTime.get(0).getDictValue());
|
|
|
|
//开启流
|
|
//开启流
|
|
List<String> rspList = new ArrayList<String>();
|
|
List<String> rspList = new ArrayList<String>();
|
|
Process proc = Runtime.getRuntime().exec("/bin/bash", null, null);
|
|
Process proc = Runtime.getRuntime().exec("/bin/bash", null, null);
|
|
@@ -406,7 +405,6 @@ public class CameraUtil {
|
|
date = calendar.getTime();
|
|
date = calendar.getTime();
|
|
//时间格式化为字符串
|
|
//时间格式化为字符串
|
|
String formatD = sdf.format(date);
|
|
String formatD = sdf.format(date);
|
|
- log.info("formatD======================================" + formatD);
|
|
|
|
|
|
|
|
//遍历每个进行视频录制的摄像头
|
|
//遍历每个进行视频录制的摄像头
|
|
File file = new File(transcribeFilePath);
|
|
File file = new File(transcribeFilePath);
|
|
@@ -414,6 +412,7 @@ public class CameraUtil {
|
|
String s = HttpUtils.sendGet(bakUrl + transcribeFilePath, null);
|
|
String s = HttpUtils.sendGet(bakUrl + transcribeFilePath, null);
|
|
if (!StringUtils.isBlank(s) || "null".equals(s)) {
|
|
if (!StringUtils.isBlank(s) || "null".equals(s)) {
|
|
List<Map<String, Object>> maps = JSON.parseArray(s, Map.class);
|
|
List<Map<String, Object>> maps = JSON.parseArray(s, Map.class);
|
|
|
|
+ log.info("maps======================================" + maps);
|
|
if (ObjectUtils.isEmpty(maps)) {
|
|
if (ObjectUtils.isEmpty(maps)) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|