Commit 572c8850dce93f3107fd276d57876dd35976fbce
Committed by
GitHub
1 parent
b4b9ad28
fix bug #1208 修复拉流代理启用状态下调用启用接口的返回错误
Showing
1 changed file
with
2 additions
and
0 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/StreamProxyServiceImpl.java
| ... | ... | @@ -407,6 +407,8 @@ public class StreamProxyServiceImpl implements IStreamProxyService { |
| 407 | 407 | logger.info("启用代理失败: {}/{}->{}({})", app, stream, jsonObject.getString("msg"), |
| 408 | 408 | streamProxy.getSrcUrl() == null? streamProxy.getUrl():streamProxy.getSrcUrl()); |
| 409 | 409 | } |
| 410 | + } else if (streamProxy != null && streamProxy.isEnable()) { | |
| 411 | + return true ; | |
| 410 | 412 | } |
| 411 | 413 | return result; |
| 412 | 414 | } | ... | ... |