Explorar el Código

修改录像参数

hexiao hace 2 años
padre
commit
e2284cdf87

+ 1 - 3
hazard-admin/src/main/java/com/ozs/web/core/config/CaneraConfig.java

@@ -19,6 +19,7 @@ public class CaneraConfig {
      */
     @Value("${base.historyUrl:http://47.106.159.135/streams}")
     private String historyUrl;
+
     /**
      * ffmpeg.exe路径
      * "D:\\Java\\operSources\\ffmpeg-4.3.1\\bin\\ffmpeg.exe"
@@ -27,9 +28,6 @@ public class CaneraConfig {
     private String ffmpegPath;
 
 
-    @Value("${base.mappingUrl:http://47.106.159.135/}")
-    private String mappingUrl;
-
     @Value("${base.filePath:/opt/streams/}")
     private String filePath;
 

+ 4 - 2
hazard-admin/src/main/resources/application.yml

@@ -16,11 +16,13 @@ base:
   # 验证码类型 math 数组计算 char 字符验证
   captchaType: math
   #  path: http://47.106.159.135:8554
-  path: http://124.70.58.209:8554
+  #  path: http://124.70.58.209:8554
+  path: http://127.0.0.1:8554
   ffmpegPath: /usr/local/ffmpeg/bin/ffmpeg
   #  mappingUrl: http://47.106.159.135/
   filePath: /opt/streams/
-  url: http://124.70.58.209:8554
+  #  url: http://124.70.58.209:8554
+  url: http://127.0.0.1:8554
   historyUrl: http://127.0.0.1:9080
 
 # 开发环境配置