From ebc65b40d3f653f1e33df409e311548bed703366 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Thu, 18 Jan 2024 14:54:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=94=B6=E5=88=B0invite?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E5=90=8E=E7=9A=84=E6=97=A5=E5=BF=97=EF=BC=8C?= =?UTF-8?q?=E5=87=8F=E5=B0=91=E5=9B=BD=E6=A0=87=E7=BA=A7=E8=81=94=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E4=BB=A3=E7=90=86=E6=B5=81=E7=9A=84=E7=AD=89=E5=BE=85?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java | 2 +- .../transmit/event/request/impl/InviteRequestProcessor.java | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java b/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java index 0d11df82..63fdcdaa 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java @@ -23,7 +23,7 @@ public class UserSetting { private Integer playTimeout = 18000; - private int platformPlayTimeout = 60000; + private int platformPlayTimeout = 20000; private Boolean interfaceAuthentication = Boolean.TRUE; diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java index e14f1318..d1155448 100755 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java @@ -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()) { // 平台设置中关闭了拉起离线的推流则直接回复