在redis中添加wvp存活依据,添加推流变化消息
This commit is contained in:
@@ -729,4 +729,10 @@ public class RedisUtil {
|
||||
return new ArrayList<>(keys);
|
||||
}
|
||||
|
||||
// ============================== 消息发送与订阅 ==============================
|
||||
public void convertAndSend(String channel, String msg) {
|
||||
redisTemplate.convertAndSend(channel, msg);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user