Commit bc2b288547d91569a6178e000694793ba6a4eb91
1 parent
f7a2d2a9
打包加入依赖的onvif包
Showing
3 changed files
with
6 additions
and
3 deletions
pom.xml
| ... | ... | @@ -202,6 +202,9 @@ |
| 202 | 202 | <plugin> |
| 203 | 203 | <groupId>org.springframework.boot</groupId> |
| 204 | 204 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 205 | + <configuration> | |
| 206 | + <includeSystemScope>true</includeSystemScope> | |
| 207 | + </configuration> | |
| 205 | 208 | </plugin> |
| 206 | 209 | <plugin> |
| 207 | 210 | <groupId>org.apache.maven.plugins</groupId> | ... | ... |
src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java
| ... | ... | @@ -251,7 +251,7 @@ public class ZLMHttpHookListener { |
| 251 | 251 | JSONArray tracks = json.getJSONArray("tracks"); |
| 252 | 252 | boolean regist = json.getBoolean("regist"); |
| 253 | 253 | if (tracks != null) { |
| 254 | - logger.info("[stream: " + streamId + "]on_stream_changed->>" + schema); | |
| 254 | + logger.info("[stream: " + streamId + "] on_stream_changed->>" + schema); | |
| 255 | 255 | } |
| 256 | 256 | if ("rtmp".equals(schema)){ |
| 257 | 257 | if ("rtp".equals(app) && !regist ) { | ... | ... |
src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRTPServerFactory.java
| ... | ... | @@ -194,7 +194,7 @@ public class ZLMRTPServerFactory { |
| 194 | 194 | logger.error("RTP推流失败: 请检查ZLM服务"); |
| 195 | 195 | } else if (jsonObject.getInteger("code") == 0) { |
| 196 | 196 | result= true; |
| 197 | - logger.error("RTP推流请求成功,本地推流端口:" + jsonObject.getString("local_port")); | |
| 197 | + logger.info("RTP推流请求成功,本地推流端口:" + jsonObject.getString("local_port")); | |
| 198 | 198 | } else { |
| 199 | 199 | logger.error("RTP推流失败: " + jsonObject.getString("msg")); |
| 200 | 200 | } |
| ... | ... | @@ -238,7 +238,7 @@ public class ZLMRTPServerFactory { |
| 238 | 238 | logger.error("停止RTP推流失败: 请检查ZLM服务"); |
| 239 | 239 | } else if (jsonObject.getInteger("code") == 0) { |
| 240 | 240 | result= true; |
| 241 | - logger.error("停止RTP推流成功"); | |
| 241 | + logger.info("停止RTP推流成功"); | |
| 242 | 242 | } else { |
| 243 | 243 | logger.error("停止RTP推流失败: " + jsonObject.getString("msg")); |
| 244 | 244 | } | ... | ... |