From 0984290ca2a75cf0316c3ca312bf8026b4edcf3e Mon Sep 17 00:00:00 2001 From: xiaoxie <hotcoffie@163.com> Date: 星期三, 01 十二月 2021 22:45:38 +0800 Subject: [PATCH] 继续优化docker配置: 1.启动命令增加ASSIST_JVM_CONFIG和WVP_JVM_CONFIG两个字段,方便配置JVM参数 2.修复一处错误,application.yml media.stream-ip的值应该等于media.ip而不是之前的sip.ip --- src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java | 37 +++++++++++++++++++++++-------------- 1 files changed, 23 insertions(+), 14 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 be9fdff..e4313d9 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java @@ -1,7 +1,7 @@ package com.genersoft.iot.vmp.storager; +import com.alibaba.fastjson.JSONObject; import com.genersoft.iot.vmp.common.StreamInfo; -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,19 +38,6 @@ StreamInfo queryPlaybackByStreamId(String steamId); StreamInfo queryPlayByDevice(String deviceId, String channelId); - - /** - * 鏇存柊娴佸獟浣撲俊鎭� - * @param ZLMServerConfig - * @return - */ - boolean updateMediaInfo(ZLMServerConfig ZLMServerConfig); - - /** - * 鑾峰彇娴佸獟浣撲俊鎭� - * @return - */ - ZLMServerConfig getMediaInfo(); Map<String, StreamInfo> queryPlayByDeviceId(String deviceId); @@ -112,4 +99,26 @@ * @param deviceId 璁惧ID */ void clearCatchByDeviceId(String deviceId); + + /** + * 鑾峰彇mediaServer鑺傜偣 + * @param mediaServerId + * @return + */ +// MediaServerItem getMediaInfo(String mediaServerId); + + /** + * 璁剧疆鎵�鏈夎澶囩绾� + */ + void outlineForAll(); + + /** + * 鑾峰彇鎵�鏈夊湪绾跨殑 + */ + List<String> getOnlineForAll(); + + /** + * 鍦╮edis娣诲姞wvp鐨勪俊鎭� + */ + void updateWVPInfo(JSONObject jsonObject); } -- Gitblit v1.8.0