Explorar o código

报警回放代码修改

gao.qiang hai 9 meses
pai
achega
2b68a5bb2a

+ 1 - 1
business-service/src/main/java/com/ozs/utils/CameraUtil.java

@@ -1653,7 +1653,7 @@ ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4
         log.info("-----getQueryRecords-------date----" + date);
         log.info("-----getQueryRecords-------type----" + type);
         try {
-            TimeUnit.SECONDS.sleep(30 * Integer.parseInt(start)*Integer.parseInt(end));
+            TimeUnit.SECONDS.sleep(60 * (Integer.parseInt(start)+Integer.parseInt(end)));
         } catch (InterruptedException e) {
             e.printStackTrace();
         }