From 0f3898910c42d4303347ac7295d3c7f0cc8e8457 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期三, 19 四月 2023 16:21:28 +0800
Subject: [PATCH] 收流时设置re_use_port参数解决端口关闭快速打开造成的端口未释放问题, 支持点播的tcp主动

---
 src/main/java/com/genersoft/iot/vmp/gb28181/transmit/SIPSender.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/SIPSender.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/SIPSender.java
index 742b8bb..89e6e32 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/SIPSender.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/SIPSender.java
@@ -57,7 +57,7 @@
             }
             if (message.getHeader(UserAgentHeader.NAME) == null) {
                 try {
-                    message.addHeader(SipUtils.createUserAgentHeader(sipLayer.getSipFactory(), gitUtil));
+                    message.addHeader(SipUtils.createUserAgentHeader(gitUtil));
                 } catch (ParseException e) {
                     logger.error("娣诲姞UserAgentHeader澶辫触", e);
                 }
@@ -105,7 +105,7 @@
                 }
             }
         } finally {
-            logger.info("[SEND]:SUCCESS:{}", message);
+//            logger.info("[SEND]:SUCCESS:{}", message);
         }
     }
 

--
Gitblit v1.8.0