From fbdad00cdb294a857f55e33b2dd92c61dc37475c Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 13 十月 2020 18:55:42 +0800
Subject: [PATCH] 修复无音频通道开启通道音频后无法播放的bug 修复点播接口真的收到视频后回复

---
 src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java |   37 +++++++++++++++++++++++++++----------
 1 files changed, 27 insertions(+), 10 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 0993c11..8381738 100644
--- a/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java
+++ b/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java
@@ -77,7 +77,7 @@
 	 * @param count 姣忛〉鏁伴噺
 	 * @return
 	 */
-	public PageResult queryChannelsByDeviceId(String deviceId, int page, int count);
+	public PageResult queryChannelsByDeviceId(String deviceId, String query, Boolean hasSubChannel, String online, int page, int count);
 
 	/**
 	 * 鑾峰彇鏌愪釜璁惧鐨勯�氶亾鍒楄〃
@@ -136,31 +136,48 @@
 	/**
 	 * 寮�濮嬫挱鏀炬椂灏嗘祦瀛樺叆
 	 *
-	 * @param deviceId 璁惧ID
-	 * @param channelId 閫氶亾ID
 	 * @param stream 娴佷俊鎭�
 	 * @return
 	 */
-	public boolean startPlay(String deviceId, String channelId, StreamInfo stream);
+	public boolean startPlay(StreamInfo stream);
 
 	/**
 	 * 鍋滄鎾斁鏃跺垹闄�
 	 *
-	 * @param deviceId 璁惧ID
-	 * @param channelId 閫氶亾ID
 	 * @return
 	 */
-	public boolean stopPlay(String deviceId, String channelId);
+	public boolean stopPlay(StreamInfo streamInfo);
 
 	/**
 	 * 鏌ユ壘瑙嗛娴�
 	 *
-	 * @param deviceId 璁惧ID
-	 * @param channelId 閫氶亾ID
 	 * @return
 	 */
-	public StreamInfo queryPlay(String deviceId, String channelId);
+	public StreamInfo queryPlay(StreamInfo streamInfo);
 
+	/**
+	 * 鏌ヨ瀛愯澶�
+	 *
+	 * @param deviceId
+	 * @param channelId
+	 * @param page
+	 * @param count
+	 * @return
+	 */
+    PageResult querySubChannels(String deviceId, String channelId, String query, Boolean hasSubChannel, String online, int page, int count);
 
+	/**
+	 * 鏇存柊缂撳瓨
+	 */
+	public void updateCatch();
 
+	/**
+	 * 娓呯┖閫氶亾
+	 * @param deviceId
+	 */
+	void cleanChannelsForDevice(String deviceId);
+
+	StreamInfo queryPlayBySSRC(String ssrc);
+
+	StreamInfo queryPlayByDevice(String deviceId, String code);
 }

--
Gitblit v1.8.0