From f4aa3e0ee8c988c0d7535ad1c76e68e23e400194 Mon Sep 17 00:00:00 2001
From: 648540858 <18010473990@163.com>
Date: 星期日, 08 八月 2021 09:18:45 +0800
Subject: [PATCH] 修复自动点播

---
 src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java |   26 ++++++++++++--------------
 1 files changed, 12 insertions(+), 14 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 56c31c1..e4313d9 100644
--- a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java
+++ b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java
@@ -2,7 +2,6 @@
 
 import com.alibaba.fastjson.JSONObject;
 import com.genersoft.iot.vmp.common.StreamInfo;
-import com.genersoft.iot.vmp.media.zlm.ZLMServerConfig;
 import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform;
 import com.genersoft.iot.vmp.gb28181.bean.ParentPlatformCatch;
 import com.genersoft.iot.vmp.gb28181.bean.SendRtpItem;
@@ -39,19 +38,6 @@
     StreamInfo queryPlaybackByStreamId(String steamId);
 
     StreamInfo queryPlayByDevice(String deviceId, String channelId);
-
-    /**
-     * 鏇存柊娴佸獟浣撲俊鎭�
-     * @param ZLMServerConfig
-     * @return
-     */
-    boolean updateMediaInfo(ZLMServerConfig ZLMServerConfig);
-
-    /**
-     * 鑾峰彇娴佸獟浣撲俊鎭�
-     * @return
-     */
-    ZLMServerConfig getMediaInfo();
 
     Map<String, StreamInfo> queryPlayByDeviceId(String deviceId);
 
@@ -115,11 +101,23 @@
     void clearCatchByDeviceId(String deviceId);
 
     /**
+     * 鑾峰彇mediaServer鑺傜偣
+     * @param mediaServerId
+     * @return
+     */
+//    MediaServerItem getMediaInfo(String mediaServerId);
+
+    /**
      * 璁剧疆鎵�鏈夎澶囩绾�
      */
     void outlineForAll();
 
     /**
+     * 鑾峰彇鎵�鏈夊湪绾跨殑
+     */
+    List<String> getOnlineForAll();
+
+    /**
      * 鍦╮edis娣诲姞wvp鐨勪俊鎭�
      */
     void updateWVPInfo(JSONObject jsonObject);

--
Gitblit v1.8.0