From 2e399faf41534c66371b5ad8286f51c3789cf546 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 01 八月 2023 10:37:00 +0800
Subject: [PATCH] 修复gps位置更新时时间格式错误的问题 #971

---
 src/main/java/com/genersoft/iot/vmp/gb28181/conf/DefaultProperties.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/conf/DefaultProperties.java b/src/main/java/com/genersoft/iot/vmp/gb28181/conf/DefaultProperties.java
index 7e355e5..e2c9ef5 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/conf/DefaultProperties.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/conf/DefaultProperties.java
@@ -12,10 +12,10 @@
  */
 public class DefaultProperties {
 
-    public static Properties getProperties(String ip, boolean sipLog) {
+    public static Properties getProperties(String name, boolean sipLog) {
         Properties properties = new Properties();
-        properties.setProperty("javax.sip.STACK_NAME", "GB28181_SIP");
-        properties.setProperty("javax.sip.IP_ADDRESS", ip);
+        properties.setProperty("javax.sip.STACK_NAME", name);
+//        properties.setProperty("javax.sip.IP_ADDRESS", ip);
         // 鍏抽棴鑷姩浼氳瘽
         properties.setProperty("javax.sip.AUTOMATIC_DIALOG_SUPPORT", "off");
         /**

--
Gitblit v1.8.0