This commit is contained in:
swwheihei
2020-07-16 16:10:49 +08:00
parent 29710b7cc1
commit d8eeb70707
44 changed files with 44 additions and 44 deletions

View File

@@ -8,7 +8,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.cmd.impl.SIPCommander;
/**
* @Description:注册逻辑处理,当设备注册后触发逻辑。
* @author: songww
* @author: swwheihei
* @date: 2020年5月8日 下午9:41:46
*/
@Component

View File

@@ -4,7 +4,7 @@ import java.util.List;
/**
* @Description:设备录像信息bean
* @author: songww
* @author: swwheihei
* @date: 2020年5月8日 下午2:05:56
*/
public class RecordInfo {

View File

@@ -2,7 +2,7 @@ package com.genersoft.iot.vmp.gb28181.bean;
/**
* @Description:设备录像bean
* @author: songww
* @author: swwheihei
* @date: 2020年5月8日 下午2:06:54
*/
public class RecordItem {

View File

@@ -8,7 +8,7 @@ import com.genersoft.iot.vmp.utils.redis.RedisUtil;
/**
* @Description:设备离在线状态检测器,用于检测设备状态
* @author: songww
* @author: swwheihei
* @date: 2020年5月13日 下午2:40:29
*/
@Component

View File

@@ -9,7 +9,7 @@ import com.genersoft.iot.vmp.gb28181.event.online.OnlineEvent;
/**
* @Description:Event事件通知推送器支持推送在线事件、离线事件
* @author: songww
* @author: swwheihei
* @date: 2020年5月6日 上午11:30:50
*/
@Component

View File

@@ -11,7 +11,7 @@ import com.genersoft.iot.vmp.gb28181.event.EventPublisher;
/**
* @Description:设备心跳超时监听,借助redis过期特性进行监听监听到说明设备心跳超时发送离线事件
* @author: songww
* @author: swwheihei
* @date: 2020年5月6日 上午11:35:46
*/
@Component

View File

@@ -4,7 +4,7 @@ import org.springframework.context.ApplicationEvent;
/**
* @Description:TODO(这里用一句话描述这个类的作用)
* @author: songww
* @author: swwheihei
* @date: 2020年5月6日 上午11:33:13
*/
public class OfflineEvent extends ApplicationEvent {

View File

@@ -14,7 +14,7 @@ import com.genersoft.iot.vmp.utils.redis.RedisUtil;
* @Description: 离线事件监听器,监听到离线后,修改设备离在线状态。 设备离线有两个来源:
* 1、设备主动注销发送注销指令{@link com.genersoft.iot.vmp.gb28181.transmit.request.impl.RegisterRequestProcessor}
* 2、设备未知原因离线心跳超时,{@link com.genersoft.iot.vmp.gb28181.event.offline.OfflineEventListener}
* @author: songww
* @author: swwheihei
* @date: 2020年5月6日 下午1:51:23
*/
@Component

View File

@@ -4,7 +4,7 @@ import org.springframework.context.ApplicationEvent;
/**
* @Description:TODO(这里用一句话描述这个类的作用)
* @author: songww
* @author: swwheihei
* @date: 2020年5月6日 上午11:32:56
*/
public class OnlineEvent extends ApplicationEvent {

View File

@@ -14,7 +14,7 @@ import com.genersoft.iot.vmp.utils.redis.RedisUtil;
* @Description: 在线事件监听器,监听到离线后,修改设备离在线状态。 设备在线有两个来源:
* 1、设备主动注销发送注销指令{@link com.genersoft.iot.vmp.gb28181.transmit.request.impl.RegisterRequestProcessor}
* 2、设备未知原因离线心跳超时,{@link com.genersoft.iot.vmp.gb28181.transmit.request.impl.MessageRequestProcessor}
* @author: songww
* @author: swwheihei
* @date: 2020年5月6日 下午1:51:23
*/
@Component

View File

@@ -9,7 +9,7 @@ import com.genersoft.iot.vmp.utils.SpringBeanFactory;
/**
* @Description:SIP信令中的SSRC工具类。SSRC值由10位十进制整数组成的字符串第一位为0代表实况为1则代表回放第二位至第六位由监控域ID的第4位到第8位组成最后4位为不重复的4个整数
* @author: songww
* @author: swwheihei
* @date: 2020年5月10日 上午11:57:57
*/
public class SsrcUtil {

View File

@@ -8,7 +8,7 @@ import org.springframework.stereotype.Component;
/**
* @Description:视频流session管理器管理视频预览、预览回放的通信句柄
* @author: songww
* @author: swwheihei
* @date: 2020年5月13日 下午4:03:02
*/
@Component

View File

@@ -26,7 +26,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.response.impl.OtherResponseProcess
/**
* @Description:TODO(这里用一句话描述这个类的作用)
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午4:24:37
*/
@Component

View File

@@ -10,7 +10,7 @@ import org.springframework.web.context.request.async.DeferredResult;
/**
* @Description:TODO(这里用一句话描述这个类的作用)
* @author: songww
* @author: swwheihei
* @date: 2020年5月8日 下午7:59:05
*/
@Component

View File

@@ -2,7 +2,7 @@ package com.genersoft.iot.vmp.gb28181.transmit.callback;
/**
* @Description:TODO(这里用一句话描述这个类的作用)
* @author: songww
* @author: swwheihei
* @date: 2020年5月8日 下午1:09:18
*/
public class RequestMessage {

View File

@@ -4,7 +4,7 @@ import com.genersoft.iot.vmp.gb28181.bean.Device;
/**
* @Description:设备能力接口,用于定义设备的控制、查询能力
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午9:16:34
*/
public interface ISIPCommander {

View File

@@ -25,7 +25,7 @@ import com.genersoft.iot.vmp.gb28181.bean.Host;
/**
* @Description:摄像头命令request创造器 TODO 冗余代码太多待优化
* @author: songww
* @author: swwheihei
* @date: 2020年5月6日 上午9:29:02
*/
@Component

View File

@@ -29,7 +29,7 @@ import java.util.regex.Matcher;
/**
* @Description:设备能力接口,用于定义设备的控制、查询能力
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午9:22:48
*/
@Component

View File

@@ -6,7 +6,7 @@ import com.genersoft.iot.vmp.gb28181.SipLayer;
/**
* @Description:处理接收IPCamera发来的SIP协议请求消息
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午4:42:22
*/
public interface ISIPRequestProcessor {

View File

@@ -16,7 +16,7 @@ import gov.nist.javax.sip.header.CSeq;
/**
* @Description:ACK请求处理器
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午5:31:45
*/
@Component

View File

@@ -10,7 +10,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.request.ISIPRequestProcessor;
/**
* @Description: BYE请求处理器
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午5:32:05
*/
@Component

View File

@@ -10,7 +10,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.request.ISIPRequestProcessor;
/**
* @Description:CANCEL请求处理器
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午5:32:23
*/
@Component

View File

@@ -10,7 +10,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.request.ISIPRequestProcessor;
/**
* @Description:处理INVITE请求
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午4:43:52
*/
@Component

View File

@@ -43,7 +43,7 @@ import com.genersoft.iot.vmp.utils.redis.RedisUtil;
/**
* @Description:MESSAGE请求处理器
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午5:32:41
*/
@Component

View File

@@ -10,7 +10,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.request.ISIPRequestProcessor;
/**
* @Description:暂不支持的消息请求处理器
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午5:32:59
*/
@Component

View File

@@ -38,7 +38,7 @@ import gov.nist.javax.sip.header.Expires;
/**
* @Description:收到注册请求 处理
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午4:47:25
*/
@Component

View File

@@ -17,7 +17,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.request.ISIPRequestProcessor;
/**
* @Description:SUBSCRIBE请求处理器
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午5:31:20
*/
@Component

View File

@@ -9,7 +9,7 @@ import com.genersoft.iot.vmp.gb28181.SipLayer;
/**
* @Description:处理接收IPCamera发来的SIP协议响应消息
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午4:42:22
*/
public interface ISIPResponseProcessor {

View File

@@ -10,7 +10,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.response.ISIPResponseProcessor;
/**
* @Description: BYE请求响应器
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午5:32:05
*/
@Component

View File

@@ -10,7 +10,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.response.ISIPResponseProcessor;
/**
* @Description:CANCEL响应处理器
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午5:32:23
*/
@Component

View File

@@ -24,7 +24,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.response.ISIPResponseProcessor;
/**
* @Description:处理INVITE响应
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午4:43:52
*/
@Component

View File

@@ -10,7 +10,7 @@ import com.genersoft.iot.vmp.gb28181.transmit.response.ISIPResponseProcessor;
/**
* @Description:暂不支持的消息响应处理器
* @author: songww
* @author: swwheihei
* @date: 2020年5月3日 下午5:32:59
*/
@Component

View File

@@ -7,7 +7,7 @@ import java.util.Locale;
/**
* @Description:时间工具类主要处理ISO 8601格式转换
* @author: songww
* @author: swwheihei
* @date: 2020年5月8日 下午3:24:42
*/
public class DateUtil {