From f8fe76add24fc2a26449c6b4007a303decb46d99 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期六, 27 三月 2021 13:56:56 +0800 Subject: [PATCH] Merge pull request #74 from lawrencehj/wvp-28181-2.0 --- src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 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 9061184..2866611 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java @@ -1,11 +1,13 @@ package com.genersoft.iot.vmp.storager; +import com.genersoft.iot.vmp.common.RealVideo; import com.genersoft.iot.vmp.common.StreamInfo; import com.genersoft.iot.vmp.conf.MediaServerConfig; import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; import com.genersoft.iot.vmp.gb28181.bean.ParentPlatformCatch; import com.genersoft.iot.vmp.gb28181.bean.SendRtpItem; +import java.util.List; import java.util.Map; public interface IRedisCatchStorage { @@ -79,6 +81,8 @@ void delPlatformRegisterInfo(String callId); + void cleanPlatformRegisterInfos(); + void updateSendRTPSever(SendRtpItem sendRtpItem); /** @@ -102,4 +106,15 @@ */ boolean isChannelSendingRTP(String channelId); + /** + * 鏇存柊濯掍綋娴佸垪琛� + * @param mediaList + */ + void updateMediaList(List<RealVideo> mediaList); + + /** + * 鑾峰彇褰撳墠濯掍綋娴佸垪琛� + * @return List<RealVideo> + */ + List<Object> getMediaList(int start, int end); } -- Gitblit v1.8.0