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 | 50 ++++---------------------------------------------- 1 files changed, 4 insertions(+), 46 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 fd0a665..4174507 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java @@ -1,6 +1,7 @@ package com.genersoft.iot.vmp.storager; import java.util.List; +import java.util.Map; import com.alibaba.fastjson.JSONObject; import com.genersoft.iot.vmp.common.PageResult; @@ -15,19 +16,6 @@ * @date: 2020骞�5鏈�6鏃� 涓嬪崍2:14:31 */ public interface IVideoManagerStorager { - - /** - * 鏇存柊娴佸獟浣撲俊鎭� - * @param mediaServerConfig - * @return - */ - public boolean updateMediaInfo(MediaServerConfig mediaServerConfig); - - /** - * 鑾峰彇娴佸獟浣撲俊鎭� - * @return - */ - public MediaServerConfig getMediaInfo(); /** * 鏍规嵁璁惧ID鍒ゆ柇璁惧鏄惁瀛樺湪 @@ -86,6 +74,7 @@ * @return */ public List<DeviceChannel> queryChannelsByDeviceId(String deviceId); + /** * 鑾峰彇鏌愪釜璁惧鐨勯�氶亾 * @param deviceId 璁惧ID @@ -104,10 +93,9 @@ /** * 鑾峰彇澶氫釜璁惧 * - * @param deviceIds 璁惧ID鏁扮粍 * @return List<Device> 璁惧瀵硅薄鏁扮粍 */ - public List<Device> queryVideoDeviceList(String[] deviceIds); + public List<Device> queryVideoDeviceList(); /** * 鍒犻櫎璁惧 @@ -133,33 +121,6 @@ */ public boolean outline(String deviceId); - /** - * 寮�濮嬫挱鏀炬椂灏嗘祦瀛樺叆 - * - * @param deviceId 璁惧ID - * @param channelId 閫氶亾ID - * @param stream 娴佷俊鎭� - * @return - */ - public boolean startPlay(String deviceId, String channelId, StreamInfo stream); - - /** - * 鍋滄鎾斁鏃跺垹闄� - * - * @param deviceId 璁惧ID - * @param channelId 閫氶亾ID - * @return - */ - public boolean stopPlay(String deviceId, String channelId); - - /** - * 鏌ユ壘瑙嗛娴� - * - * @param deviceId 璁惧ID - * @param channelId 閫氶亾ID - * @return - */ - public StreamInfo queryPlay(String deviceId, String channelId); /** * 鏌ヨ瀛愯澶� @@ -172,14 +133,11 @@ */ 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); + } -- Gitblit v1.8.0