From f1fae7aac6b125957f6795f692609f2a296aee1a Mon Sep 17 00:00:00 2001
From: panlinlin <648540858@qq.com>
Date: 星期五, 16 四月 2021 10:59:26 +0800
Subject: [PATCH] 增加移除离线设备的功能

---
 src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java
index c9f5fff..d0d07f7 100644
--- a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java
+++ b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java
@@ -1,13 +1,11 @@
 package com.genersoft.iot.vmp.storager;
 
-import com.genersoft.iot.vmp.common.RealVideo;
 import com.genersoft.iot.vmp.common.StreamInfo;
 import com.genersoft.iot.vmp.conf.MediaServerConfig;
 import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform;
 import com.genersoft.iot.vmp.gb28181.bean.ParentPlatformCatch;
 import com.genersoft.iot.vmp.gb28181.bean.SendRtpItem;
 
-import java.util.List;
 import java.util.Map;
 
 public interface IRedisCatchStorage {
@@ -81,6 +79,8 @@
 
     void delPlatformRegisterInfo(String callId);
 
+    void cleanPlatformRegisterInfos();
+
     void updateSendRTPSever(SendRtpItem sendRtpItem);
 
     /**
@@ -105,14 +105,8 @@
     boolean isChannelSendingRTP(String channelId);
 
     /**
-     * 鏇存柊濯掍綋娴佸垪琛�
-     * @param mediaList
+     * 娓呯┖鏌愪釜璁惧鐨勬墍鏈夌紦瀛�
+     * @param deviceId 璁惧ID
      */
-    void updateMediaList(List<RealVideo> mediaList);
-
-    /**
-     * 鑾峰彇褰撳墠濯掍綋娴佸垪琛�
-     * @return List<RealVideo>
-     */
-    List<Object> getMediaList(int start, int end);
+    void clearCatchByDeviceId(String deviceId);
 }

--
Gitblit v1.8.0