Explorar o código

重启流媒体定时任务添加

gao.qiang hai 1 ano
pai
achega
ddf0102d9b

+ 1 - 1
hazard-admin/src/main/java/com/ozs/web/core/util/CameraUtil.java

@@ -954,7 +954,7 @@ ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4
     /**
      * 重启流媒体
      */
-    public void restart(String num) {
+    public void restart() {
         log.info("restart=============");
         try {
             Process proc = Runtime.getRuntime().exec("/opt/streams", null, null);