修复 87c071:合并271分支 的参数遗漏
将推流信息记录至redis,由StreamPushItem变更成OnStreamChangedHookParam时,漏了设置serverId。pull/1559/head^2
parent
8985905bbe
commit
5772d3f231
|
@ -694,6 +694,7 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
|
||||||
@Override
|
@Override
|
||||||
public void addPushListItem(String app, String stream, MediaArrivalEvent event) {
|
public void addPushListItem(String app, String stream, MediaArrivalEvent event) {
|
||||||
String key = VideoManagerConstants.PUSH_STREAM_LIST + app + "_" + stream;
|
String key = VideoManagerConstants.PUSH_STREAM_LIST + app + "_" + stream;
|
||||||
|
event.getHookParam().setSeverId(userSetting.getServerId());
|
||||||
redisTemplate.opsForValue().set(key, event.getHookParam());
|
redisTemplate.opsForValue().set(key, event.getHookParam());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue