From ab81136765f1b641223b982b2baef13e06307fe4 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 08 十二月 2021 16:45:50 +0800 Subject: [PATCH] 优化适配zlm的hook保活 --- src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 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 3f4b73f..18f30a5 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java @@ -50,6 +50,14 @@ public void updateChannel(String deviceId, DeviceChannel channel); /** + * 鎵归噺娣诲姞璁惧閫氶亾 + * + * @param deviceId 璁惧id + * @param channels 澶氫釜閫氶亾 + */ + public void updateChannels(String deviceId, List<DeviceChannel> channels); + + /** * 寮�濮嬫挱鏀� * @param deviceId 璁惧id * @param channelId 閫氶亾ID @@ -327,7 +335,7 @@ * @param channelId * @return */ - GbStream queryStreamInParentPlatform(String platformId, String channelId); + List<GbStream> queryStreamInParentPlatform(String platformId, String channelId); /** * 鑾峰彇骞冲彴鍏宠仈鐨勭洿鎾祦 @@ -406,4 +414,13 @@ * @param channelId 閫氶亾ID */ void deviceChannelOffline(String deviceId, String channelId); + + /** + * 閫氳繃app涓巗tream鑾峰彇StreamProxy + * @param app + * @param streamId + * @return + */ + StreamProxyItem getStreamProxyByAppAndStream(String app, String streamId); + } -- Gitblit v1.8.0