Commit 278264a2c6492d94ffb668cb75c3494f426074ea

Authored by 648540858
1 parent 8ea6e192

优化拉流代理注释

src/main/java/com/genersoft/iot/vmp/service/impl/StreamProxyServiceImpl.java
... ... @@ -284,6 +284,9 @@ public class StreamProxyServiceImpl implements IStreamProxyService {
284 284 result = true;
285 285 streamProxy.setEnable(true);
286 286 updateStreamProxy(streamProxy);
  287 + }else {
  288 + logger.info("启用代理失败: {}/{}->{}({})", app, stream, jsonObject.getString("msg"),
  289 + streamProxy.getSrc_url() == null? streamProxy.getUrl():streamProxy.getSrc_url());
287 290 }
288 291 }
289 292 return result;
... ...
src/main/java/com/genersoft/iot/vmp/vmanager/streamProxy/StreamProxyController.java
... ... @@ -109,7 +109,6 @@ public class StreamProxyController {
109 109 logger.info("启用代理: " + app + "/" + stream);
110 110 boolean result = streamProxyService.start(app, stream);
111 111 if (!result) {
112   - logger.info("启用代理失败: " + app + "/" + stream);
113 112 throw new ControllerException(ErrorCode.ERROR100);
114 113 }
115 114 }
... ...