From 1f07f4ab4ceeb6029d3717cc4cb597d1ad6e7e67 Mon Sep 17 00:00:00 2001
From: panlinlin <648540858@qq.com>
Date: 星期五, 16 四月 2021 11:21:50 +0800
Subject: [PATCH] 解决国标平台通道数统计的错误

---
 src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java |   37 +++++++++++++++++++++++++++++++++++--
 1 files changed, 35 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..3e001b0 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;
 
 /**    
@@ -193,7 +194,7 @@
 	 * @param platformGbId
 	 * @return
 	 */
-	ParentPlatform queryParentPlatById(String platformGbId);
+	ParentPlatform queryParentPlatByServerGBId(String platformGbId);
 
 	/**
 	 * 鎵�鏈夊钩鍙扮绾�
@@ -319,4 +320,36 @@
 	 * @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);
 }

--
Gitblit v1.8.0