From a25f7e4f99401f842d9a0129d35011fa11930e9e Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: 星期四, 31 十二月 2020 13:22:22 +0800 Subject: [PATCH] 存储部分使用sqlite代替redis-2 --- src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java | 47 ++--------------------------------------------- 1 files changed, 2 insertions(+), 45 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 0894fe2..4174507 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java @@ -17,19 +17,6 @@ */ public interface IVideoManagerStorager { - /** - * 鏇存柊娴佸獟浣撲俊鎭� - * @param mediaServerConfig - * @return - */ - public boolean updateMediaInfo(MediaServerConfig mediaServerConfig); - - /** - * 鑾峰彇娴佸獟浣撲俊鎭� - * @return - */ - public MediaServerConfig getMediaInfo(); - /** * 鏍规嵁璁惧ID鍒ゆ柇璁惧鏄惁瀛樺湪 * @@ -87,6 +74,7 @@ * @return */ public List<DeviceChannel> queryChannelsByDeviceId(String deviceId); + /** * 鑾峰彇鏌愪釜璁惧鐨勯�氶亾 * @param deviceId 璁惧ID @@ -105,10 +93,9 @@ /** * 鑾峰彇澶氫釜璁惧 * - * @param deviceIds 璁惧ID鏁扮粍 * @return List<Device> 璁惧瀵硅薄鏁扮粍 */ - public List<Device> queryVideoDeviceList(String[] deviceIds); + public List<Device> queryVideoDeviceList(); /** * 鍒犻櫎璁惧 @@ -134,27 +121,6 @@ */ public boolean outline(String deviceId); - /** - * 寮�濮嬫挱鏀炬椂灏嗘祦瀛樺叆 - * - * @param stream 娴佷俊鎭� - * @return - */ - public boolean startPlay(StreamInfo stream); - - /** - * 鍋滄鎾斁鏃跺垹闄� - * - * @return - */ - public boolean stopPlay(StreamInfo streamInfo); - - /** - * 鏌ユ壘瑙嗛娴� - * - * @return - */ - public StreamInfo queryPlay(StreamInfo streamInfo); /** * 鏌ヨ瀛愯澶� @@ -167,10 +133,6 @@ */ PageResult querySubChannels(String deviceId, String channelId, String query, Boolean hasSubChannel, String online, int page, int count); - /** - * 鏇存柊缂撳瓨 - */ - public void updateCatch(); /** * 娓呯┖閫氶亾 @@ -178,9 +140,4 @@ */ void cleanChannelsForDevice(String deviceId); - StreamInfo queryPlayBySSRC(String ssrc); - - StreamInfo queryPlayByDevice(String deviceId, String code); - - Map<String, StreamInfo> queryPlayByDeviceId(String deviceId); } -- Gitblit v1.8.0