From 8553769e76ad1026cddc3293c5b6b4186e391dd0 Mon Sep 17 00:00:00 2001 From: 648540858 <456panlinlin> Date: Thu, 7 Apr 2022 14:22:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85xml=E7=BC=BA=E5=A4=B1?= =?UTF-8?q?=E7=9A=84=E7=BC=96=E7=A0=81=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java index 0ea9ac46..e2fd5518 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java @@ -145,9 +145,9 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform { public String keepalive(ParentPlatform parentPlatform) { String callId = null; try { - + String characterSet = parentPlatform.getCharacterSet(); StringBuffer keepaliveXml = new StringBuffer(200); - keepaliveXml.append("\r\n"); + keepaliveXml.append("\r\n"); keepaliveXml.append("\r\n"); keepaliveXml.append("Keepalive\r\n"); keepaliveXml.append("" + (int)((Math.random()*9+1)*100000) + "\r\n");