添加收到invite消息后的日志,减少国标级联推送代理流的等待时间

pull/1270/head
648540858 2024-01-18 14:54:03 +08:00
parent 7f79b92568
commit ebc65b40d3
2 changed files with 3 additions and 4 deletions

View File

@ -23,7 +23,7 @@ public class UserSetting {
private Integer playTimeout = 18000;
private int platformPlayTimeout = 60000;
private int platformPlayTimeout = 20000;
private Boolean interfaceAuthentication = Boolean.TRUE;

View File

@ -147,6 +147,8 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
return;
}
logger.info("[INVITE] requesterId: {}, callId: {}, 来自:{}{}",
requesterId, callIdHeader.getCallId(), request.getRemoteAddress(), request.getRemotePort());
// 查询请求是否来自上级平台\设备
ParentPlatform platform = storager.queryParentPlatByServerGBId(requesterId);
@ -706,9 +708,6 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
zlmHttpHookSubscribe.removeSubscribe(hookSubscribe);
dynamicTask.stop(callIdHeader.getCallId());
}
} else if ("push".equals(gbStream.getStreamType())) {
if (!platform.isStartOfflinePush()) {
// 平台设置中关闭了拉起离线的推流则直接回复