From a34db2ee8bf66b1c00a2ea185955a625d9e9aefb Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期四, 21 九月 2023 21:34:02 +0800 Subject: [PATCH] 增加根据国标编号添加国标级联通道的接口 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/SubscribeInfo.java | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SubscribeInfo.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SubscribeInfo.java old mode 100644 new mode 100755 index e971c7a..07176f2 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SubscribeInfo.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SubscribeInfo.java @@ -3,15 +3,13 @@ import gov.nist.javax.sip.message.SIPRequest; import gov.nist.javax.sip.message.SIPResponse; -import javax.sip.ServerTransaction; import javax.sip.header.*; public class SubscribeInfo { - public SubscribeInfo(ServerTransaction serverTransaction, String id) { + public SubscribeInfo(SIPRequest request, String id) { this.id = id; - SIPRequest request = (SIPRequest)serverTransaction.getRequest(); this.request = request; this.expires = request.getExpires().getExpires(); EventHeader eventHeader = (EventHeader)request.getHeader(EventHeader.NAME); -- Gitblit v1.8.0