From ba6d84cdc82bd2b5aa938b3b4abd122cc8e77b1b Mon Sep 17 00:00:00 2001
From: songww <songww@inspur.com>
Date: 星期六, 16 五月 2020 14:47:28 +0800
Subject: [PATCH] 删除部分代码
---
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/request/impl/RegisterRequestProcessor.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/request/impl/RegisterRequestProcessor.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/request/impl/RegisterRequestProcessor.java
index 7ca2e43..ca1ba5d 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/request/impl/RegisterRequestProcessor.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/request/impl/RegisterRequestProcessor.java
@@ -63,7 +63,7 @@
* 璇锋眰娑堟伅
*/
@Override
- public void process(RequestEvent evt, SipLayer layer, ServerTransaction transaction) {
+ public void process(RequestEvent evt, SipLayer layer) {
try {
System.out.println("鏀跺埌娉ㄥ唽璇锋眰锛屽紑濮嬪鐞�");
Request request = evt.getRequest();
@@ -141,7 +141,7 @@
device.setTransport(isTcp ? "TCP" : "UDP");
}
}
- transaction.sendResponse(response);
+ layer.getServerTransaction(evt).sendResponse(response);
// 娉ㄥ唽鎴愬姛
// 淇濆瓨鍒皉edis
// 涓嬪彂catelog鏌ヨ鐩綍
--
Gitblit v1.8.0