Merge pull request #1209 from DavidSche/fix-1208

fix bug #1208 修复拉流代理启用状态下调用启用接口的返回错误
This commit is contained in:
648540858 2023-12-18 09:59:06 +08:00 committed by GitHub
commit 18a9f86a0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,6 +407,8 @@ public class StreamProxyServiceImpl implements IStreamProxyService {
logger.info("启用代理失败: {}/{}->{}({})", app, stream, jsonObject.getString("msg"), logger.info("启用代理失败: {}/{}->{}({})", app, stream, jsonObject.getString("msg"),
streamProxy.getSrcUrl() == null? streamProxy.getUrl():streamProxy.getSrcUrl()); streamProxy.getSrcUrl() == null? streamProxy.getUrl():streamProxy.getSrcUrl());
} }
} else if (streamProxy != null && streamProxy.isEnable()) {
return true ;
} }
return result; return result;
} }