From 5772d3f2315a70770cc357456a4a532c7130d2aa Mon Sep 17 00:00:00 2001 From: koisi Date: Mon, 5 Aug 2024 18:59:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=2087c071:=E5=90=88=E5=B9=B62?= =?UTF-8?q?71=E5=88=86=E6=94=AF=20=E7=9A=84=E5=8F=82=E6=95=B0=E9=81=97?= =?UTF-8?q?=E6=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将推流信息记录至redis,由StreamPushItem变更成OnStreamChangedHookParam时,漏了设置serverId。 --- .../genersoft/iot/vmp/storager/impl/RedisCatchStorageImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/impl/RedisCatchStorageImpl.java b/src/main/java/com/genersoft/iot/vmp/storager/impl/RedisCatchStorageImpl.java index b33cad8a..f4647cdb 100755 --- a/src/main/java/com/genersoft/iot/vmp/storager/impl/RedisCatchStorageImpl.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/impl/RedisCatchStorageImpl.java @@ -694,6 +694,7 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage { @Override public void addPushListItem(String app, String stream, MediaArrivalEvent event) { String key = VideoManagerConstants.PUSH_STREAM_LIST + app + "_" + stream; + event.getHookParam().setSeverId(userSetting.getServerId()); redisTemplate.opsForValue().set(key, event.getHookParam()); }