From e48fa711a3664bece9b3e58840a75fe7c05bc47c Mon Sep 17 00:00:00 2001
From: panlinlin <648540858@qq.com>
Date: 星期六, 08 五月 2021 17:14:05 +0800
Subject: [PATCH] 添加截图(快照)功能

---
 src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java |   50 ++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 48 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java b/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java
index e8f3240..5d838c5 100644
--- a/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java
+++ b/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java
@@ -4,7 +4,8 @@
 
 import com.genersoft.iot.vmp.gb28181.bean.*;
 import com.genersoft.iot.vmp.media.zlm.dto.StreamProxyItem;
-import com.genersoft.iot.vmp.vmanager.platform.bean.ChannelReduce;
+import com.genersoft.iot.vmp.media.zlm.dto.StreamPushItem;
+import com.genersoft.iot.vmp.vmanager.gb28181.platform.bean.ChannelReduce;
 import com.github.pagehelper.PageInfo;
 
 /**    
@@ -134,6 +135,13 @@
 	 */
 	public boolean outline(String deviceId);
 
+	/**
+	 * 鏇存柊鎵�鏈夎澶囩绾�
+	 *
+	 * @return true锛氭洿鏂版垚鍔�  false锛氭洿鏂板け璐�
+	 */
+	public boolean outlineForAll();
+
 
 	/**
 	 * 鏌ヨ瀛愯澶�
@@ -193,7 +201,7 @@
 	 * @param platformGbId
 	 * @return
 	 */
-	ParentPlatform queryParentPlatById(String platformGbId);
+	ParentPlatform queryParentPlatByServerGBId(String platformGbId);
 
 	/**
 	 * 鎵�鏈夊钩鍙扮绾�
@@ -319,4 +327,42 @@
 	 * @return
 	 */
 	List<GbStream> queryGbStreamListInPlatform(String platformId);
+
+	/**
+	 * 鎵归噺鏇存柊鎺ㄦ祦鍒楄〃
+	 * @param streamPushItems
+	 */
+	void updateMediaList(List<StreamPushItem> streamPushItems);
+
+	/**
+	 * 鏇存柊鍗曚釜鎺ㄦ祦
+	 * @param streamPushItem
+	 */
+	void updateMedia(StreamPushItem streamPushItem);
+
+	/**
+	 * 绉婚櫎鍗曚釜鎺ㄦ祦
+	 * @param app
+	 * @param stream
+	 */
+	void removeMedia(String app, String stream);
+
+
+	/**
+	 * 娓呯┖鎺ㄦ祦鍒楄〃
+	 */
+	void clearMediaList();
+
+	/**
+	 * 璁剧疆娴佺绾�
+	 * @param app
+	 * @param streamId
+	 */
+	void mediaOutline(String app, String streamId);
+
+	/**
+	 * 璁剧疆骞冲彴鍦ㄧ嚎/绂荤嚎
+	 * @param online
+	 */
+	void updateParentPlatformStatus(String platformGbID, boolean online);
 }

--
Gitblit v1.8.0