修复使用来源IP作为流ip配置
This commit is contained in:
parent
a62b61c991
commit
1e7ce98967
@ -106,6 +106,7 @@ public class PlayController {
|
||||
resultHolder.invokeResult(msg);
|
||||
});
|
||||
|
||||
if (userSetting.getUseSourceIpAsStreamIp()) {
|
||||
// TODO 在点播未成功的情况下在此调用接口点播会导致返回的流地址ip错误
|
||||
deferredResultEx.setFilter(result1 -> {
|
||||
WVPResult<StreamInfo> wvpResult1 = (WVPResult<StreamInfo>)result1;
|
||||
@ -122,6 +123,7 @@ public class PlayController {
|
||||
}
|
||||
return clone;
|
||||
});
|
||||
}
|
||||
|
||||
// 录像查询以channelId作为deviceId查询
|
||||
resultHolder.put(key, uuid, deferredResultEx);
|
||||
|
Loading…
Reference in New Issue
Block a user