去除jedis,方便支持redis集群

This commit is contained in:
648540858
2022-08-10 18:14:33 +08:00
parent eb177a6742
commit 82ab6b1760
7 changed files with 25 additions and 162 deletions

View File

@@ -148,6 +148,8 @@ public class PlayController {
// 超时处理
result.onTimeout(()->{
logger.warn(String.format("设备预览/回放停止超时deviceId/channelId%s_%s ", deviceId, channelId));
redisCatchStorage.stopPlay(streamInfo);
storager.stopPlay(streamInfo.getDeviceID(), streamInfo.getChannelId());
RequestMessage msg = new RequestMessage();
msg.setId(uuid);
msg.setKey(key);