修复 87c071:合并271分支 的参数遗漏

将推流信息记录至redis,由StreamPushItem变更成OnStreamChangedHookParam时,漏了设置serverId。
pull/1559/head^2
koisi 2024-08-05 18:59:02 +08:00 committed by GitHub
parent 8985905bbe
commit 5772d3f231
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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());
}