Bladeren bron

修改录像配置

hexiao 1 jaar geleden
bovenliggende
commit
d222f958e5

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

@@ -784,7 +784,7 @@ ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4
         rc = redisCache;
         sc = serverConfig;
         wsUrl = caneraConfig.getWsUrl();
-        recordUrl = caneraConfig.getWsUrl();
+        recordUrl = caneraConfig.getRecordUrl();
     }
 
 

+ 1 - 1
hazard-admin/src/main/resources/application.yml

@@ -25,7 +25,7 @@ base:
   wsUrl: ws://183.236.39.220:9080
   defaultPassword: yn5aq5Mt.106.tky
   imgUrl: http://${server-ip}:18801/picbucket
-  recordUrl: http://183.236.39.220:8083
+  recordUrl: http://183.236.39.220:8083${server.servlet.context-path}
 # 开发环境配置
 server:
   # 服务器的HTTP端口,默认为8080