From 367ec111e48f9ffc7829cc79369c9c8988114f78 Mon Sep 17 00:00:00 2001 From: 64850858 <648540858@qq.com> Date: 星期三, 14 七月 2021 16:06:31 +0800 Subject: [PATCH] 更新readme --- src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java | 30 ++++++++++++++++++------------ 1 files changed, 18 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java index 2866611..56c31c1 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java @@ -1,8 +1,8 @@ package com.genersoft.iot.vmp.storager; -import com.genersoft.iot.vmp.common.RealVideo; +import com.alibaba.fastjson.JSONObject; import com.genersoft.iot.vmp.common.StreamInfo; -import com.genersoft.iot.vmp.conf.MediaServerConfig; +import com.genersoft.iot.vmp.media.zlm.ZLMServerConfig; import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; import com.genersoft.iot.vmp.gb28181.bean.ParentPlatformCatch; import com.genersoft.iot.vmp.gb28181.bean.SendRtpItem; @@ -38,20 +38,20 @@ StreamInfo queryPlaybackByStreamId(String steamId); - StreamInfo queryPlayByDevice(String deviceId, String code); + StreamInfo queryPlayByDevice(String deviceId, String channelId); /** * 鏇存柊娴佸獟浣撲俊鎭� - * @param mediaServerConfig + * @param ZLMServerConfig * @return */ - boolean updateMediaInfo(MediaServerConfig mediaServerConfig); + boolean updateMediaInfo(ZLMServerConfig ZLMServerConfig); /** * 鑾峰彇娴佸獟浣撲俊鎭� * @return */ - MediaServerConfig getMediaInfo(); + ZLMServerConfig getMediaInfo(); Map<String, StreamInfo> queryPlayByDeviceId(String deviceId); @@ -93,6 +93,8 @@ */ SendRtpItem querySendRTPServer(String platformGbId, String channelId); + List<SendRtpItem> querySendRTPServer(String platformGbId); + /** * 鍒犻櫎RTP鎺ㄩ�佷俊鎭紦瀛� * @param platformGbId @@ -107,14 +109,18 @@ boolean isChannelSendingRTP(String channelId); /** - * 鏇存柊濯掍綋娴佸垪琛� - * @param mediaList + * 娓呯┖鏌愪釜璁惧鐨勬墍鏈夌紦瀛� + * @param deviceId 璁惧ID */ - void updateMediaList(List<RealVideo> mediaList); + void clearCatchByDeviceId(String deviceId); /** - * 鑾峰彇褰撳墠濯掍綋娴佸垪琛� - * @return List<RealVideo> + * 璁剧疆鎵�鏈夎澶囩绾� */ - List<Object> getMediaList(int start, int end); + void outlineForAll(); + + /** + * 鍦╮edis娣诲姞wvp鐨勪俊鎭� + */ + void updateWVPInfo(JSONObject jsonObject); } -- Gitblit v1.8.0