添加收到invite消息后的日志,减少国标级联推送代理流的等待时间
parent
7f79b92568
commit
ebc65b40d3
|
@ -23,7 +23,7 @@ public class UserSetting {
|
||||||
|
|
||||||
private Integer playTimeout = 18000;
|
private Integer playTimeout = 18000;
|
||||||
|
|
||||||
private int platformPlayTimeout = 60000;
|
private int platformPlayTimeout = 20000;
|
||||||
|
|
||||||
private Boolean interfaceAuthentication = Boolean.TRUE;
|
private Boolean interfaceAuthentication = Boolean.TRUE;
|
||||||
|
|
||||||
|
|
|
@ -147,6 +147,8 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.info("[INVITE] requesterId: {}, callId: {}, 来自:{}:{}",
|
||||||
|
requesterId, callIdHeader.getCallId(), request.getRemoteAddress(), request.getRemotePort());
|
||||||
|
|
||||||
// 查询请求是否来自上级平台\设备
|
// 查询请求是否来自上级平台\设备
|
||||||
ParentPlatform platform = storager.queryParentPlatByServerGBId(requesterId);
|
ParentPlatform platform = storager.queryParentPlatByServerGBId(requesterId);
|
||||||
|
@ -706,9 +708,6 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
|
||||||
zlmHttpHookSubscribe.removeSubscribe(hookSubscribe);
|
zlmHttpHookSubscribe.removeSubscribe(hookSubscribe);
|
||||||
dynamicTask.stop(callIdHeader.getCallId());
|
dynamicTask.stop(callIdHeader.getCallId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} else if ("push".equals(gbStream.getStreamType())) {
|
} else if ("push".equals(gbStream.getStreamType())) {
|
||||||
if (!platform.isStartOfflinePush()) {
|
if (!platform.isStartOfflinePush()) {
|
||||||
// 平台设置中关闭了拉起离线的推流则直接回复
|
// 平台设置中关闭了拉起离线的推流则直接回复
|
||||||
|
|
Loading…
Reference in New Issue