在redis中添加wvp存活依据,添加推流变化消息

This commit is contained in:
648540858
2021-11-23 14:51:37 +08:00
parent 6282c81bc5
commit b1c92cf4e8
16 changed files with 108 additions and 44 deletions

View File

@@ -729,4 +729,10 @@ public class RedisUtil {
return new ArrayList<>(keys);
}
// ============================== 消息发送与订阅 ==============================
public void convertAndSend(String channel, String msg) {
redisTemplate.convertAndSend(channel, msg);
}
}