优化拉流代理注释
parent
8ea6e192d9
commit
278264a2c6
|
@ -284,6 +284,9 @@ public class StreamProxyServiceImpl implements IStreamProxyService {
|
|||
result = true;
|
||||
streamProxy.setEnable(true);
|
||||
updateStreamProxy(streamProxy);
|
||||
}else {
|
||||
logger.info("启用代理失败: {}/{}->{}({})", app, stream, jsonObject.getString("msg"),
|
||||
streamProxy.getSrc_url() == null? streamProxy.getUrl():streamProxy.getSrc_url());
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
|
@ -109,7 +109,6 @@ public class StreamProxyController {
|
|||
logger.info("启用代理: " + app + "/" + stream);
|
||||
boolean result = streamProxyService.start(app, stream);
|
||||
if (!result) {
|
||||
logger.info("启用代理失败: " + app + "/" + stream);
|
||||
throw new ControllerException(ErrorCode.ERROR100);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue